So i am trying to leave a room so when i leave it i reconnect automatically
here is the Code i am using
// Called from a button or somewhere external
public void LeaveRoom()
{
PhotonNetwork.LeaveRoom();
}
public override void OnLeftRoom()
{
PhotonNetwork.DestroyPlayerObjects(PhotonNetwork.player);
SceneManager.LoadScene(1);
}