The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

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).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

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

Tobias
2022-01-28 12:30:01

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.

ILog
2022-01-28 12:55:07

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