Synchronize object one last time before pause?
Options
Hello,
I'm finding that updating a synchronized property on a PhotonView during OnApplicationPaused is not getting sent over the wire to other clients - I suspect this is because object updates happen during Update() and there are no more calls to Update() once the application is paused. Is there a clean way to tell Photon to synchronize all objects one more time during OnApplicationPaused? Or should I use RPCs for this purpose instead? Thanks!
I'm finding that updating a synchronized property on a PhotonView during OnApplicationPaused is not getting sent over the wire to other clients - I suspect this is because object updates happen during Update() and there are no more calls to Update() once the application is paused. Is there a clean way to tell Photon to synchronize all objects one more time during OnApplicationPaused? Or should I use RPCs for this purpose instead? Thanks!
0
Comments
-
Calling PhotonNetwork.networkingPeer.RunViewUpdate() in OnApplicationPaused() seems to be one way of solving this, is that recommended?0