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.

players can't connect to each other

omid3232
2021-11-29 08:06:03

hi,we made a pvp online game with photon that has two game mode, after you select your game mode you should wait for other player or if any other player be waiting in that mode you will connect to each other and when room has 2 player it will be close and game will start;

but some times players can't find each other and both players will create room and will wait for another player , it didn't happen before but recently this happens for no reason.

we reviewed all scripts but that's not the problem because it some times works correctly but some times doesn't work for no reason; and sorry for bad Grammer , my English isn't good enough.

Comments

JohnTube
2021-11-29 12:23:11

Hi @omid3232,

Thank you for choosing Photon!

Make sure both clients are joined to the same Region and use the same AppId / AppVersion.

Read more in our Matchmaking Checklist.

omid3232
2021-11-30 09:56:22

hi @JohnTube , thanks for your response, app id and app versions are same in both of clients, and default server is EU in photon settings, it will connect all clients to EU region is it right?

and it doesn't happen always and sometimes it fixes with out any changes,i mean it didn't work yesterday but maybe it works today with same exported apk file without any changes.

Back to top