PhotonNetwork.isConnected is even true if I have no internet access
Options
I'm trying to activate offline mode if the device is not connected to the internet at the start. How do I detect this using photonNetwork?
I tried checking PhotonNetwork.isConnected but to my surprise, even if I pull out my internet cable (and my device has no wifi access), the bool is still true.
So, if isConnected won't tell me if I'm connected, what will?
Thank you for reading
I tried checking PhotonNetwork.isConnected but to my surprise, even if I pull out my internet cable (and my device has no wifi access), the bool is still true.
So, if isConnected won't tell me if I'm connected, what will?
Thank you for reading
0
Comments
-
My solution to this is now to check for the bool in the update rather than in the start method.0