photonNetwork.time is getting wrong values for syncing time in a room.how to handle

Options
i tried to sync room between the players but photonNetwork.time giving wrong values

Comments

  • HI @chandru,

    what exactly do you mean by wrong values? Is there a large difference on this value between connected clients? Can you confirm that all clients you have checked are in the same room?

    If the variance is too big, you can try to get a more accurate value by using PhotonNetwork.FetchServerTimestamp(); on each client.
  • chandru
    Options
    thanks @Christian_Simon ill try