So I 'm creating a game and it's using Photon PUN 2+ I made a free app with 20 CCU and copied the APP ID into unity, I made it automatically connect to rooms if they are any available, and if not create a room. This works when I run two instances of the game on my own PC. But when I sent it over to my friend we don't connect to the same room If I could please get anyone to help it would be highly appreciated.
1
votes
maybe your friend is connect to another photon cloud region. You can call PhotonNetwork.ConnectToRegion(...) to ensure you are on the same region or set a fixed region in the photon settings.
– JeanLuc
that might be the case because I live in UK and he lives in Jamaica
– NightX
Yes then that’s for sure the reason. I added my comment as answer.
– JeanLuc
1 Answers
3
votes
Most likely your friend is connect to another photon cloud region.
You can either
- let user switch regions by calling PhotonNetwork.ConnectToRegion(...) to ensure they are on the same region
- or set a fixed region in the photon settings