Callback for master client switch failed.

How can I handle cases where SetMasterClient() fails? Is there a callback that will be called?

E.g. sometimes we get:
"Operation failed: OperationResponse 252: ReturnCode: -2 (MasterClientId value '2' is invalid. No actor with such number). Parameters: {} Server: GameServer"
when we try to set the master client to another players that just left the room.

Best, He.

Comments

  • Hi @heen,

    Currently, we do not have a callback for that sorry.
    Just to make sure, do you use PUN1 or PUN2?
Sign In or Register to comment.