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

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.

Switch host without migration or call a HostMigrationToken manually (FUSION)

Lele
2023-01-23 13:41:38

Hello, I have a scene with 4 players, each one can lose and quit at a different time from the others, so in each game, the host can potentially migrate up to 3 times, this becomes very invasive for a mobile game with matches of a maximum of 2 minutes, so I would like to ask if it is possible to switch hosts without migrating when the host is still in the room (like PhotonNetwork.SetMasterClient(PhotonNetwork.MasterClient.GetNext()); from Photon PUN).

or call a Host Migration Token manually, when you want to exit, so you don't have to waste the time that has passed since the last time it was called.

Thanks so much.

Comments

Back to top