Search Unity

network.player.ipaddress returns 0.0.0.0 in ad-hoc network

Discussion in 'Multiplayer' started by FuzzyQuills, Sep 1, 2014.

  1. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    Hi, do any of you know how to get the ip of an ad-hoc network? Currently, if I am in an actual LAN, it returns a correct address, but when using an ad-hoc network, it returns 0.0.0.0! What am i to do? o_O

    So, if anyone can help me get the correct address of an ad-hoc network, that would be great. :)