0
if(Application.internetReachability != NetworkReachability.NotReachable)
{
    isConnected = true;
    Debug.Log("Success Connect");
}
else
{
    isConnected = false;
    Debug.Log("Failed Connect");
}

After updating Unity to the latest version, Application.internetReachability always returns NotReachable on Android phones.

There were no problems when using 2019.1.x, but problems arose from 2019.2.1 to the latest version.

Is there anything I need to do in the new version?

Please reply. Thank you.

오명근
  • 15
  • 1
  • 4
  • [`Application.internetReachability`](https://docs.unity3d.com/ScriptReference/Application-internetReachability.html) `Note: Do not use this property to determine the actual connectivity. E.g. the device can be connected to a hot spot, but not have the actual route to the network.` – derHugo Sep 13 '19 at 16:20
  • Possible duplicate of [Unity check internet connection availability](https://stackoverflow.com/questions/24351155/unity-check-internet-connection-availability) – derHugo Sep 13 '19 at 16:22
  • Check my answer [here](https://stackoverflow.com/a/57931517/12065390). I hope this works for you. – user601 Sep 14 '19 at 00:28

0 Answers0