[AS3] SMP: Invalid JSON: SyntaxError: Unexpected token

Hi, today I had a strange error, as I understand this is due to broadcast messages, sometimes it happened that when I got them they were very strange lines:


I assumed to me that my broadcast messages from other application.

Hi, That should not be possible but I recognize the top lines from another game. Is that last line what you expect from your game? I will look into this more.

Thanks for reporting as always. Found the issue, in rare cases, there was scope problem that was combining data when it should not. Now it will only combine data for each connection individually.

It happened on various messages, sometimes quite chaotic and with various contents. I did the test again, now everything works well, thank you too.

Good to hear that it’s fixed. Sorry for any issue it caused. I’ve had many issues with this particular code. It should be more stable now.

That’s all right, thank you for your support.

Y8 Games