how change Regions?
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 change Regions?
Jhoan_steve_1994
2016-09-22 17:06:13
how change Regions?
https://doc.photonengine.com/en-us/realtime/current/reference/regions
loadBalancingClient.ConnectToRegionMaster("us");
// not work . not exist declaration
or
PhotonNetwork.ConnectToRegion(CloudRegionCode.asia,GameVersion);
// not change Regions
how change Regions???
Comments
Hi @Jhoan_steve_1994,
Thank you for choosing Photon!
The correct PUN link for the "Regions" doc is the following:
https://doc.photonengine.com/en-us/pun/current/reference/regions
I hope you find your answer there.
Jhoan_steve_1994
2016-09-23 15:27:20
thanks for the info
--- codigo c#---------
public void BtnRegionAsia (){
PhotonNetwork.Disconnect();
PhotonNetwork.ConnectToRegion(CloudRegionCode.asia,GameVersion);
Servidore.SetActive (false);
}
------------console message---------------- Disconnected from Photon. ConnectToRegion: asia.
it's okay . because PhotonServerSettings this in (region eu) ?
Jhoan_steve_1994
2016-09-23 19:41:17
exist method ? to return the region change ?
I have been testing successfully the experience I created within India. Today I tested with someone in Singapore. He could not connect into the room. I have ensured that the "Fixed Region" attribute in "Server / Cloud Settings" is empty so that it is global. Should I be doing anything else?
You both need to be connected to the same server region.
See the Matchmaking Checklist.
Thanks Tobias for the update. Which means I cant have a session between Singapore and India for that reason?
Back to top