docs.unity3d.com
    Show / Hide Table of Contents

    Enum StatusCode

    Status code returned by many functions in the API.

    Namespace: Unity.Networking.Transport.Error
    Syntax
    public enum StatusCode : int
    Remarks

    Any value less than 0 denotes a failure.

    Fields

    Name Description Value
    NetworkArgumentMismatch
    NetworkDriverParallelForErr

    Tried to process the same connection multiple times in a parallel job.

    NetworkHeaderInvalid

    A packet's header is invalid.

    NetworkIdMismatch

    Unknown connection (internal ID doesn't exist).

    NetworkPacketOverflow

    Packet data is too large to handle.

    NetworkSendHandleInvalid

    Internal send handle is invalid.

    NetworkSendQueueFull

    Network send queue is full.

    NetworkStateMismatch

    Invalid operation given connection's state.

    NetworkVersionMismatch

    Unknown connection (internal ID in use by newer connection).

    Success

    Success; no error encountered.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023