Detecting rollback

Hi is there a simple way to detect rollbacks? While my internal variables that are tracked are rolled back, my visuals that arent updated per frame could use a callback when a rollback happen to correct their visual status.

Comments

  • Unfortunately we don't have a callback for rollbacks, but when each time a rollback happen the "OnSyncedUpdate" is called, so if you update the visuals there it will be related to your current input state.
  • Would like to have more details on OnSyncUpdate gets called on rollback.

    Does TrueSyncManager.Ticks value rollback as well?
  • Yep, if call it and you are in a rollback you will get a value related to the correct frame.