• We are looking for a content creator to help market our assets and a future unannounced project. More details are on this page.

How do you handle disconnections and reconnections with UCC?


New member
Hey guys, I've been trying to implement the logic of rejoining a room after I reconnect to Photon. I am using the SingleCharacterSpawnManager to spawn my player prefab, and have gone through the SpawnManagerBase class, but don't see any code to handle reconnections specifically. Has anyone here implemented reconnecting and rejoining a room with UCC correctly so far? Would really appreciate the help.


Staff member
The rejoining process is done within the SpawnManagerBase. Take a look at the OnPlayerLeftRoom method.