Search Unity

empty client ip adress on NetworkManager.OnClientConnect (using websockets)

Discussion in 'Multiplayer' started by Gameccino, Sep 1, 2016.

  1. Gameccino

    Gameccino

    Joined:
    Aug 1, 2012
    Posts:
    40
    Today I were logging users to test a new uunet based multiplayer games and I noticed that the property
    NetworkConnection.address is empty when connecting throught websocket (it is populate with full ipv4 and v6 address when not using websockets)
    Is this a bug, is this by design or am I missing something?
     
  2. bartofzo

    bartofzo

    Joined:
    Mar 16, 2017
    Posts:
    151
    I'd like to know this too! NetworkConnection.address is empty with websocket connections. Trying to incorporate a ban function on my server.