ReconnectAndRejoin issue

I am making a game with using PUN multiplayer in which I am using PUN turnManager class.

I am having one query regarding the disconnection issue. I noticed that if any joined player got some network fluctuations then he gets the call OnConnectionFail(). So , i handle reconnection in OnDisconnectedFromPhoton() by ReconnectAndRejoin().

But, my question is that in between this disconnection and reconnection process if any game progress/state is changed then how could get the updated game state to reconnected/rejoined player. Because every player in that room should have the same game state while playing the game.

So regaining Game state like current players turn, missed turns, other players current position etc etc

Comments

This discussion has been closed.