Each SyncVar OnChange Not Invoked Until All SyncVars have been synced that Tick #467
Closed
Katerlad
started this conversation in
Feature Request
Replies: 2 comments
-
Not really possible without a huge rework and a lot of complications. Adding 'on all sync types complete' event instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Request to revise SyncVars OnChange behavior to not be invoked until all SyncVars have synced from the same Tick.
This was a request added back in the old request system in discord that was approved, and I have seen you mention it as something that you may like to change/add a few times here and there in people questions etc.
So making an official thread about it here on Github, now that SyncVars are a hot topic with V4 maybe this could be another positive change.
WHY?
Currently if 2 SyncVars were updated on the same callstack/tick when the OnChange callbacks fire on the clients, if the the first triggered callback depended on the 2nd Syncvar it would be using out of date info.
Beta Was this translation helpful? Give feedback.
All reactions