How can I sync scenes for players joining later ?
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
How can I sync scenes for players joining later ?
ILog
2022-01-27 09:04:15
Hello, I recently started working on a wario ware style game, where you play minigames in fast succession. I managed to get the loading of scenes working and everything is synced. The problem is that when players join the room later, they do not join the same scene where other players are (they instead join the waiting room and cannot join the game). How should I go about implementing this?
Comments
I guess you could use the built in scene synchronization for this, where you enable AutomaticallySyncScene
and use the Master Client to change scenes.
This is shown in the PUN Basics Tutorial.
Thank you for your response ! It works very well, but if I do multiple times PhotonNetwork.LoadScene(), wouldn’t that load a lot of scenes before getting to the right one?
Back to top