-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema lost in reconnection situation #211
Comments
Hi @NoahHahm, the schema callbacks need to be re-established upon reconnection. The same calls to |
Is it correct that the schema change events that are not received from the server because the connection is lost do not work? |
Hi @NoahHahm, It is possible to manually compare the schemas by iterating over the colyseus-unity-sdk/Assets/Colyseus/Runtime/Colyseus/Serializer/Schema/ReferenceTracker.cs Lines 18 to 26 in 587bacd
(I'm cleaning up old issues. Version |
we update the schema we missed in the reconnection situation, but
due to the difference between the schema I was holding and the schema received after joining again from the server
Map schema, etc.
I want to trigger events such as OnAdd, OnChange, etc.
any good examples of this?
The text was updated successfully, but these errors were encountered: