Skip to main content

Unity.Networking.Transport.Error.DisconnectReason

DisconnectReason enumerates all disconnect reasons.

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public enum DisconnectReason : byte

Fields#

NameDescription
ClosedByRemoteIndicates the connection was closed remotely.
CountUsed only for count. Keep last and don't assign explicit values
DefaultIndicates a normal disconnection as a result of calling Disconnect on
the connection.
MaxConnectionAttemptsIndicates the connection failed to establish a connection after
maxConnectAttempts.
TimeoutIndicates the connection timed out.