doghappy / socket.io-client-csharp

socket.io-client implemention for .NET
MIT License
721 stars 124 forks source link

Newtonsoft branch: event with json data not received #288

Closed hrabkin closed 2 years ago

hrabkin commented 2 years ago

Using Newtonsoft branch. I am able to send events to server with string, byte[], json data successfully. I am able to receive events from server with string data but I don't receive with a JSON.

I can't debug with web debugger on Unity side (web debuggers proxy do not work with Unity) but my server definitely sends data. No errors in console of Unity. Is it issue with Newtonsoft deserializer?

Is there a way to debug any failures at receiving or parsing data?

P.S. I am working with audio, sending it in FixedUpdate callback

hrabkin commented 2 years ago

I figured out the problem, it works fine