'Unity3D Photon player not spawning after leaving lobby

Hi I am working on a game where users can enter the lobby and walk around and interact from there they can enter the custom lobby to play mini-games (they will leave the current lobby to join another lobby) when I am trying to exit back to the previous lobby the player is not spawning.

enter image description here enter image description here

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source