Hi @VanillaDevelop, welcome! 👋
The Unity client tries to validate all the schema structures locally, based on the "handshake" that comes from the server. What's not very well documented is that, right now, every
@type() annotation is going to attach the structures into a "global" context - putting all your room's schemas into the same "global" context, therefore the client will receive schemas from multiple rooms and throw the
"mismatch" error in case some of them cannot be found.
I suggest you create your own
@type() to avoid this problem in Unity, as suggested here: https://discuss.colyseus.io/topic/390/schema-handshake-problem-between-server-and-unity-client/2
I need to provide more documentation about this on the next release that's coming up (0.14)
Let me know if that works for you