OnPlayerLeftRoom() not always called

Schloool
✭
Hey folks,
I am currently working on a project, where I want different things to be executed for all players being in the room while one player left.
Therefore I used the OnPlayerLeftRoom()-method in a context like this:
public class MyLeaveHandler : MonoBehaviourPunCallbacks { public override void OnPlayerLeftRoom(Player otherPlayer) { Debug.Log("PLAYER LEFT"); HandleMyStuff(); } private void HandleMyStuff() { ... } }
However, while testing the callback method was only called in about 5 cases at first. After that, the method did not get called again, also not after restarting the game. I also made sure that all clients are conntected in the very same region. I leave a room using the method
PhotonNetwork.LeaveRoom();
Also, some other callbacks - like the following ones - do not get called at all.
OnPlayerEnteredRoom() OnPlayerPropertiesUpdate()
Thanks in advance for any helpful feedback. :)
0