Question by
payalzariya07 · Jul 19, 2019 at 02:12 PM ·
photonmultiplayer-networking
Unity3d Photon not leaveroom in game
In game I call PhotonNetwork.LeaveRoom() method for leave room but room will be not destroyed or leave room.and after call the PhotonNetwork.LoadLevel(0) method it will be reload scene.
public void GotoHomeTask() { LeavingRoomDialog.SetActive(true); PhotonNetwork.DestroyPlayerObjects(PhotonNetwork.player); PhotonNetwork.LeaveRoom(); }
Comment
Your answer