Search Unity

Why is my client not connecting to my server?

Discussion in 'Multiplayer' started by Deleted User, Dec 2, 2016.

  1. Deleted User

    Deleted User

    Guest

    A few seconds after calling Network.Connect(host, port), I get this error from the NetworkManager:

    What does host=0 mean? What is DisconnectEvent error=6?

    The strange thing is that the server sees the client is connected as a player connected event is generated but the OnConnect event is never called on the client side.
     
  2. Deleted User

    Deleted User

    Guest