Need help trying to sync animator with the lobby i know the code i did is broken i need help

3 things that you’ll need to change:

  1. make a float variable to store the time and make it a synced variable

  2. when the OnPlayerJoined event gets called, get the animator time from master and request serialization.

  3. when OnDeserialization gets called, set the animator time from the synced variable to sync up with the master.

And thats it in global terms. you don’t need to do this in the update loop (and I highly recommend you don’t for performance reasons). You only need to know what the animator on the room’s master/host is at and sync that whenever some one joins/leaves.

Just make sure it’s unscaled time on the animator to reduce desync issues


idk what i did wrong
the main variable is synced
am i dumb

you’re checking if the player that joined is the master atm, which will almost always be false