OnLeftRoom is not working

Options
public void leaveroom()
{
PhotonNetwork.LeaveRoom();
Debug.Log("Leave room");
}
public void OnLeftRoom()
{
Debug.Log("Left room");
Application.LoadLevel("room menu");
}

Leave room is getting called but Left room isnt
How Does OnLeftRoom works??

Comments

  • alienheretic
    Options
    same for me
  • alienheretic
    Options
    changing from
    public void OnLeftRoom()
    {
    Debug.Log("Left room");
    Application.LoadLevel("room menu");
    }
    to
    public override void OnLeftRoom()
    {
    Debug.Log("Left room");
    Application.LoadLevel("room menu");
    }

    seems to fix the issue for me