colyseus / colyseus.js

⚔ Colyseus Multiplayer SDK for JavaScript/TypeScript
https://docs.colyseus.io/getting-started/javascript-client/
MIT License
410 stars 107 forks source link

invalid byte error show up constantly #60

Closed ghost closed 4 years ago

ghost commented 4 years ago

using version 0.11.5 I get errors of invalid byte like below: Invalid byte 8c;at socketTask.onMessage callback function Error: Invalid byte 8c at e.t.decode at t.setState at t.setState at t.onMessageCallback

endel commented 4 years ago

Can you provide some more context on this @RonnyHou? Which serializer are you using? Which kind of data are you transferring? When exactly does this happen?

ghost commented 4 years ago

The error does not show up anymore recently. I consider it a coding mistake of myself. Thanks @endel .