PhotonNetwork.time and rollover? PhotonNetwork.ServerTimestamp?

A couple of old threads mentions issues with the rollover on PhotonNetwork.time.

https://forum.photonengine.com/discussion/6452/photonnetwork-time-online-timer
https://forum.photonengine.com/discussion/6160/photonnetwork-time-is-not-synchronized

What is the current state of things? Is the rollover still an issue? I want to be able to synchronize something happening on all clients at a certain time but sounds like the rollover of PhotonNetwork.time still might be an issue?

What if I use PhotonNetwork.ServerTimestamp instead? Are there any potential issues there?

Comments

  • bump 1 time
  • If you make sure the PhotonNetwork.ServerTimestamp is synchronized (not being 0) you can use it to calculate time deltas and it being an integer means the overflow is handled nicely.
    There is currently no known issue.