Photon - OnRoomJoined called before scene loads
So in my project, a player can hit a connect button, which calls PhotonNetwork.JoinRoom and will be switched into a scene where the players in that room can choose their character. When a player joins the room, I want to add a Character Selector to the scene for that player.
The problem is that I want to do stuff in the OnJoinedRoom() Photon callback in the character selection scene, but the player joining the room wont be able to see that call because the scene wouldn't have been loaded yet.
Any ideas for a workaround?
Hi,
isn't it possible to use the OnJoinedRoom
callback in order to load another scene and start that scene with an enabled character selection?
Your answer
![](https://koobas.hobune.stream/wayback/20220612163959im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Photon Player Instantiation 1 Answer
Photon RPC Parameter NullReferenceException 1 Answer
What's wrong with my script ? 0 Answers
I get an error message every time i run this script? Any ideas? 0 Answers
How do I sync health meters via Photon? 0 Answers