When using the Unity Ping class on android, it fails with this error:
E/Unity (20391): ping: icmp open socket: Operation not permitted
E/Unity (20391):
E/Unity (20391):
E/Unity (20391): (Filename: ./Runtime/Network/NetworkUtility.cpp Line: 1020)
Is it a bug or is there another way to get the ping to an ip? Tested on a Samsung Galaxy S3 with Android 4.3, Unity 5.1.4 (preview).
Ok, submitted a bug report: 734124
We’ve had exactly the same issue on Linux quite some time ago, where it was fixed.
Does really nobody use ping on android?? How can I move this thread to the Android forum?
I reproduced exactly the same mistake.
The situation is completely analogous to the described here
The device Samsung Galaxy S3 with Android 4.3,
The latest version of Unity 5.3.4f1
Error only with Galaxy S3, on our other devices ping works fine