Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Callback for master client switch failed.

$
0
0
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.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>