I’m about to try this out on the iPhone, but I have tried this out on the android, and it works find on PC.
This returns “127.0.0.1” while connected to WIFI. I was expecting something like “192.168.2.5”. I don’t think I’m doing something wrong, but maybe I am?
Debug.Log(Network.player.ipAddress.ToString());