How to set MasterClient in SharedMode?
Options
Answers
-
Hi @Mami ,
The concept of
MasterClient
only applies if you are running Fusion in SharedMode, which is similar to how PUN works.If that is the case, the Peer that has created the Game Session will initially be the
MasterClient
of the Session, and you can check this by looking at:Runner.IsSharedModeMasterClient
: https://doc-api.photonengine.com/en/fusion/current/class_fusion_1_1_network_runner.html#a8874f7b7126ad02fafd5895fecc84586Also, on the Fusion API, there is no way to force one of the Peer to be the
MasterClient
of the Session, this only changes when the currentMasterClient
leaves the Session, and another peer is automatically selected to be the new `MasterClient.--
Ramon Melo
Photon Fusion Team
0