resend OnJoinedRoom() buffered data
Options
Hi
I have a little problem, when my players join a room they still have to load the map they are gonna play so I call PhotonNetwork.isMessageQueueRunning = false; on void OnJoinedRoom() so I dont lose any message until the scene is loaded but it seems calling it on OnJoinedRoom() is not fast enough and some messages are lost so I wonder if is there any way to resend this data upon loading the scene
I have a little problem, when my players join a room they still have to load the map they are gonna play so I call PhotonNetwork.isMessageQueueRunning = false; on void OnJoinedRoom() so I dont lose any message until the scene is loaded but it seems calling it on OnJoinedRoom() is not fast enough and some messages are lost so I wonder if is there any way to resend this data upon loading the scene
0
Comments
-
Have a look at the last paragraph of this page:
http://doc.exitgames.com/en/pun/current/getting-started/feature-overview
You can use the built in synchronization. It should do the trick for you.0