Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to get device IP address in 2018.2 beta?

Discussion in '2018.2 Beta' started by Percy-Pea, Jun 11, 2018.

  1. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Hi there, we were simply using Network.player.ipAddress to get our games iPAddress on android/IOS but now Network is removed, Unity just says to use 'Unity Multiplayer or NetworkIdentity' in console but I sadly can't work out how to do then do so :(
     
  2. oLDo

    oLDo

    Joined:
    Mar 14, 2017
    Posts:
    55
  3. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Thanks very much, will give it a go and report back
     
  4. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Apologies, been a while. This seems to work for Android, but on IOS doesn't seem to give the correct IP address for me. Oddly, on IOS my phones IP address isn't even in the addressList given from the above. :(
     
    rob_ice likes this.