how change Regions?

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
    JohnTube ✭✭✭✭✭
    edited May 2019
    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
    edited September 2016
    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) ?
  • 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?