Can I disconnect from a TrueSync game room without triggering the panic window?
Options
I've tried:
And:
Both trigger the panic window for all other devices. Additionally, as with http://forum.photonengine.com/discussion/comment/35149 , is there a way to determine disconnect reason?
PhotonNetwork.LeaveRoom();
And:
PhotonNetwork.Disconnect();
Both trigger the panic window for all other devices. Additionally, as with http://forum.photonengine.com/discussion/comment/35149 , is there a way to determine disconnect reason?
0
Best Answer
-
Hello @niki_walker_ubisoft, "pause" doesnt solve that, it was clear in your last reply. The next version of TrueSync handle this well, if a player quit or exit all players are notified but keep running the simulation. Currently we don't send a reason, only the player quit. As we are still in development mode this feature could be added before release.5
Answers
-
Hi @niki_walker_ubisoft, in the last version of TrueSync the inputs of every player from the beginning of the game is expected, we have some improvements in the next big release. To see how to pause/end a game you can check our demos.0
-
Hey @JeffersonHenrique, thanks for responding. To clarify, are you saying that this is a bug, AND that it's fixed in the next release?
Forgot to add repro steps:
1. Start a TrueSync game with 2 or more players.
2. After any amount of simulated time, have Player1 quit.
3. All other players will encounter the full panic window due to the fact that the server does not gracefully handle a deliberate player quit.
Additionally, will other players be told (via enum or similar) WHY Player 1 disconnected? There is a difference between: "Player1 quit and forfeited the game." and "Player1's client encountered an issue."
Does pausing solve this?0 -
Hello @niki_walker_ubisoft, "pause" doesnt solve that, it was clear in your last reply. The next version of TrueSync handle this well, if a player quit or exit all players are notified but keep running the simulation. Currently we don't send a reason, only the player quit. As we are still in development mode this feature could be added before release.5
-
Thanks for the clarification. I'll look for the next release ETA.0