-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
[Bug]: States are not triggered in the expected order #702
Comments
Interesting, thank you for reporting @saltlevent, I can confirm this is happening here: https://stackblitz.com/edit/colyseus-schema-issue-report-vxwj94?file=index.ts I'm currently working on a new version of There are 2 options you could take right now: use the |
Thank you for quick reply, I'll try what you said then ill reply. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Context
No response
Bug description
I have 2 states these are ArraySchema and number(int64). In server when I update the arrayschema before number, client get the OnAdd event from arrayschema after number change event. This cause a little bit challenge for our project. How can we solve this problem?
server-side:
client-side logs:
->OnActionTypeChange
->OnAdd: boardTile
Reproduction
No response
Steps to reproduce
Environment & Versions
Colyseus version: 0.15.15
Node version : v16.20.1
Typescript version : 4.9.5
Operating System: Linux Ubuntu 18.04.6 LTS
The text was updated successfully, but these errors were encountered: