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. Dismiss Notice

NetGroup event: DisconnectEvent

Discussion in 'Multiplayer' started by KnightPista, May 23, 2016.

  1. KnightPista

    KnightPista

    Joined:
    May 18, 2015
    Posts:
    40
    Hi all,

    when starting online match using relay server, after a few seconds (~30) the match is no longer visible in the match list.
    I have set debug log on Network Manager and it displayed the following log:

    Code (CSharp):
    1. NetGroup event:DisconnectEvent
    2. NetGroup server disconnected

    Looking at the code, this event is received in NetworkServerSimple.cs when ReceiveRelayEventFromHost is called. So I assume Relay server disconnected my server for some reason. The problem is, I dont know what is the reason of disconnect :).

    Now what I know, there is development limit of 4 kb/sec on relay server after which users get Timeout message. However, I'm not getting any Timeout message, only this debug message.

    Do anybody know, what can cause this message?

    Thanks,
    Stefan