Switch host without migration or call a HostMigrationToken manually (FUSION)
The whole answer can be found below.
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).
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.