Open yty opened 1 year ago
I have same issue when server broadcast a schema object to all clients
[Not working]
_room.OnMessage<Player>("customType", player =>
{
OnPositionChanged?.Invoke(player.id, player);
});
Working
_room.OnMessage<Player>(player =>
{
OnPositionChanged?.Invoke(player.id, player);
});
I also have this issue but I'm unsure where it's happening. It only happens in one project under NDA I can't share. I've taken everything out, put it into another project, and no errors.
Working in 2020.1.7f1 but not in 2021.3.16f1. Using Colyseus 0.14.7.
I haven't changed almost anything in the example, I've just removed some features. Stepping through the room initialization process, it happens twice in the two frames of updating the username, and never again.
i tested colyseus-unity-sdk-0.14.15、colyseus-unity-sdk-0.14.16、colyseus-unity-sdk-0.14.17、colyseus-unity-sdk-0.14.18. all this error. but, colyseus-unity-sdk-0.14.7、olyseus-unity-sdk-0.14.10、olyseus-unity-sdk-0.14.12 has no errors.
uses unity3d.2020.3. 36f1 and unity2021.3.11f1