Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

UNET: Client Disconnect Error: Timeout in local lobby

Discussion in 'UNet' started by risokncn, Dec 9, 2015.

  1. risokncn

    risokncn

    Joined:
    Oct 14, 2013
    Posts:
    20
    I have a simple game that uses custom NetworkLobbyManager. When I connect 3 android phones in local network, one client always gets disconnected after some time. It's usually between 30 seconds and 1.5 minute (rarely a few minutes) after the online scene is started.

    What could possibly cause this?

    I've seen people having similar issue with matchmaker because of the bandwidth limit, but I guess this cannot be the case in local multiplayer. I don't have any commands/rpc calls inside the Update(), less than 20 syncvars. I also tried to to keep it occupied so there won't be any longer gap without communication, didn't work. What else should I try?
     
    Last edited: Dec 13, 2015
    Deleted User likes this.
  2. ashleyjlive

    ashleyjlive

    Joined:
    Oct 5, 2013
    Posts:
    11
    If you are on 5.3 or 5.3.1 this is a bug I believe. I am only having this issue on 5.3.x
    5.2.4 doesn't have this issue.
     
  3. risokncn

    risokncn

    Joined:
    Oct 14, 2013
    Posts:
    20
    I was having this issue on 5.2.3.p2, I'll try 5.2.4
     
  4. faneric

    faneric

    Joined:
    May 15, 2013
    Posts:
    10
    I'v encountered the same problem when played on my Android phones, but rarely happened on PCs, how could this happen? Does anybody have some solutions?
     
    risokncn likes this.