Search Unity

ClientDisconnected due to error: Timeout?

Discussion in 'Multiplayer' started by gon777, Mar 15, 2017.

  1. gon777

    gon777

    Joined:
    Dec 20, 2016
    Posts:
    7
    Hi this is my first post here,

    I was trying to use NetworkDiscovery to broadcast messages over LAN, my client can receive some broadcast messages in a short time but soon encountered this error and disconnects

    What I did:
    On one game process, I start NetworkLobbyManager as a host, initialize NetworkDiscovery, and start NetworkDiscoveryas a server,
    On my editor, I run the game in editor , start NetworkLobbyManageras a client, initialize NetworkDiscovery, and start it as a client.

    I have searched around but nobody post a solution to this, anyone can help?

    Edit:
    Unity 5.5.2f1
    Edit 2:
    I used default network address (localhost) and port (7777) for connection
     
    Last edited: Mar 15, 2017
  2. gon777

    gon777

    Joined:
    Dec 20, 2016
    Posts:
    7
    Turns out I get this error because the client connecting to it itself