if(Application.internetReachability == NetworkReachability.NotReachable) is not working in android mobiles,it is working only in editor,We need to check internet connection for mobile application.Could anyone help me .
Same here
It works for us with iOS as well, just android not jiving.
Same
Same
One of you should file a bug report with an example project.
The issue seems to be closed by Unity. The problem occurs when Application.internetReachability is used just after the application start.
same here
We have the same problem. Has anyone found a solution? How to test internet connection?
The previously linked bug report was closed because it wasn’t reproducible with the provided project and steps, and the reporter stopped responding a month ago. If it is really a bug, someone needs to provide the correct information to Unity QA in order to reproduce it or it will certainly not get fixed.
I reopened the bug yesterday with a comment, it shouldn’t really require a user repro scenario as it should be easy to test locally.
Just updated to 2019.2 and it’s broken.
Always returning false on Samsung G570M, was working perfectly on 2019.1.
Hi,
internet reachability is broken when building for MacOs standalone on 2019.1.0f2…
EDIT: ok, so turns out that not only it’s not meant to verify that internet is accessible, which in itself is sooo misleading, but it’s not even giving the same results if you are in editor or in builds, so in editor, it properly ( or intuitively) says that internet is not reachable when wifi is disabled, but when in builds, it says it has carrier reachability…
so, this api is very confusing/broken/useless to say the least… at least make it in big red ballon letters that it’s not meant to verify that internet is accessible.
Bye,
Jean
We have removed the control for Android and added a Ping to Amazon EC2 server, I think Ping is also not working on this devices because with the new version still our users report this bug, its an important feature for a platform because everything is made via internet and many applications need to check internet connection before connect to somewhere, Unity should focus more on this bug…
Same for 2019.2.8f and Android
Well they officially know of the problem now.
Known Issues in 2019.2.9f1
- Android: Application.internetReachability returns NotReachable on certain devices even if internet is available (1178696)