Offline error when using ConnectToBestCloudServer

Hi, I use PhotonNetwork.ConnectToBestCloudServer(<version>) to connect to the best server. I noticed that when there is no network connection, an error is thrown when attempting to use this function. I am able to continue and use offline mode as normal and everything works, but this error being thrown will be an issue for app store submission. Thanks again for the help.

Connect() failed: System.Net.Sockets.SocketException: No such host is known
at System.Net.Dns.hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in <filename unknown>:0
at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in <filename unknown>:0
at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in <filename unknown>:0
at ExitGames.Client.Photon.IPhotonSocket.GetIpAddress (System.String serverIp) [0x00000] in <filename unknown>:0
at ExitGames.Client.Photon.SocketUdp.DnsAndConnect () [0x00000] in <filename unknown>:0

Comments

  • Afaik, this is a log entry we made deliberately when fetching the exception. It's basically for me to get details if something goes wrong.
    Does anyone know if this is a problem for App Store submission?
Sign In or Register to comment.