Cannot get master client

Options
We got multiplatform app. there are some clients in the room. one of them is a "presenter" (master client). Presenter can use mobile app to reconnect to the room and use mobile client to interact with other (desktop client) users. when presenter is in the room and he use desktop app, he can run mobile app. In this case we kick his desktop client and trying to get master client on mobile app using PhotonNetwork.SetMasterClient(PhotonNetwork.player); on mobile client. but we often get error "Operation failed: OperationResponse 252". this error reproduces 7/10 times

Comments

  • jeanfabre
    Options
    Hi,

    - what version of PUN do you have? if not the latest, please update
    - did you implement a playerTtl ?

    I just tried and it works fine. The fact that works 7/10 times it likely indicative of a process issues in your logic, maybe you are not waiting for the right network status to operate? maybe the player did not disconnected yet?

    Bye,

    Jean