Does master client disconnects on manually switching master?
Options
Hello everyone,
In a project I am working on some clients' actions depend on master client's RTT.
To improve game experience for players, I wanted to manually switch master client if his RTT (ping) becomes too high. To my surprise, when I try to call PhotonNetwork.SetMasterClient(PhotonPlayer player) - server disconnects current master client.
My questions are:
- Is it intentional behavior?
- Is it possible to not disconnect master client from the server when manually switching it?
Thanks for answers in advance!
In a project I am working on some clients' actions depend on master client's RTT.
To improve game experience for players, I wanted to manually switch master client if his RTT (ping) becomes too high. To my surprise, when I try to call PhotonNetwork.SetMasterClient(PhotonPlayer player) - server disconnects current master client.
My questions are:
- Is it intentional behavior?
- Is it possible to not disconnect master client from the server when manually switching it?
Thanks for answers in advance!
0
Comments
-
Hi @pan1cmode,
Thank you for choosing Photon!Is it intentional behavior?No it's not.
Check the DisconnectCause in the disconnection callbacks to know more.1 -
How to change MasterClient while playing for another player by script?
I'm looking if there's a way to set another player to Master Client during game by C#.. . Thanks in advance to all those who help.0