Skip to main content

Unity.Networking.Transport.Error.StatusCode

Status code returned by many functions in the API.

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public enum StatusCode
Remarks#

Any value less than 0 denotes a failure.

NameDescription
NetworkArgumentMismatch
NetworkDriverParallelForErrTried to process the same connection multiple times in a parallel job.
NetworkHeaderInvalidA packet's header is invalid.
NetworkIdMismatchUnknown connection (internal ID doesn't exist).
NetworkPacketOverflowPacket data is too large to handle.
NetworkSendHandleInvalidInternal send handle is invalid.
NetworkSendQueueFullNetwork send queue is full.
NetworkStateMismatchInvalid operation given connection's state.
NetworkVersionMismatchUnknown connection (internal ID in use by newer connection).
SuccessSuccess; no error encountered.