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.

Join room between two countries

Apurva
2019-08-21 14:42:00

Hello

I'm using pun 2 and I to join room between two countries. When I'm trying it two countries, it's not connecting.
Is there anything need to setup for that? Please let me know the possible way. Trying to create room in the US and join from India. But not able to join. I have used join random room and if there is no room found then it creates new room.

Thank in advance

Comments

JohnTube
2019-08-21 16:11:26

Hi @Apurva,

Clients connected to two different regions cannot play with each other.
Use a fixed region in server settings if you want all players to connect to the same region.
Or let players exchange region information outside of Photon and then connect to the same region in order to play together.

Apurva
2019-08-21 17:05:36

Is there any reference link for fixed region server setting?

JohnTube
2019-08-23 13:01:51

You can find it here.

tolosafan3D
2022-05-05 15:20:36

hum, not sure to understand, that's not clear @JohnTube .When you say:

"Clients connected to two different regions cannot play with each other.", do you mean NEVER "cannot play" together?

OR

If a user is located in Italy and wants to play with a Us user:

does he have to choose a fixed region = "us", even he's in Italy, to be able to connect correctly?

Back to top