Users on mobile networks not connecting to Photon

Options
We are from Gazia Games, a Singapore-based startup that's making a multiplayer game on mobile. We are using Photon, Unity and PUN for our mobile MOBA, Brawlstar Legends.

We're encountering a severe problem where some of our users are unable to connect to Photon on their mobile devices while connected to cellular data (3G, 4G etc).

This has happened in multiple territories:
Canada
USA (T-mobile, AT&T)
Singapore (m1, Circles)
Philippines

So we think it's not a carrier-specific or a country-specific problem.

There are other weirder problems; for example, when a non-connecting user swaps SIM cards into a connecting user's phone, the app can connect and game can start. Then, when the SIM is switched back, the non-connecting user can now connect to Photon! Until the next day. And when a non-connecting user swaps SIM with a non-connecting user, the problem persists. It is very perplexing and we have no idea what is happening.

Here's a log from one of our colleagues showing this problem generated by Photon logging and other instrumentation from our engineers: https://pastebin.com/SPTkFmES

We can see that the device is trying to connect to the server (load balancer) and in theory we think that is happening successfully, but later when it is trying to connect to the game server, the address returned by the load balancer was "localhost".

We're in a very tight timeline beta so any help from you would be immensely helpful.

Thanks!

Best Answer

Answers