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

JohnTube
2016-09-22 21:02:05

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 ?

Zaskar
2021-02-16 07:21:00

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?

Tobias
2021-02-17 11:15:03

You both need to be connected to the same server region.
See the Matchmaking Checklist.

Zaskar
2021-02-18 14:12:31

Thanks Tobias for the update. Which means I cant have a session between Singapore and India for that reason?

Back to top