How to get the stream of event from my device in Unity C#?

Hello Particle Community Members.

I hope you're all doing well. I'm currently working on an IoT project using Unity C# and have encountered a puzzling issue. I've successfully set up my device, obtained my own token, and tested events using Postman – everything seems to be working smoothly there.

However, when I try to integrate these events into my Unity C# project, I face a roadblock. The first packet, denoted by ':ok', is received as expected, but unfortunately, I'm not receiving any subsequent events.

I've double-checked my configurations and everything looks in order, but I can't seem to figure out why the events aren't coming through in Unity. Could someone please lend their expertise and guide me on how to troubleshoot or resolve this issue? Any suggestions, tips, or examples would be greatly appreciated!

Thanks in advance for your help!

How are you pulling events into Unity? Via streaming serial data, or the Particle event stream?

https://api.particle.io/v1/devices/events?access_token=TOKEN

I am getting Particle stream of events through this api.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.