docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetcodeConfigConstants

    Constants used as default values for netcode config options.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct NetcodeConfigConstants

    Fields

    ClientReceiveQueueCapacity

    Capacity of the receive queue (per pipeline-stage) on the client. This should be the maximum number of in-flight packets expected to be received by the client - from the server - during a worst-case frame (like if the client executable stalls).

    Declaration
    public const int ClientReceiveQueueCapacity = 64
    Field Value
    Type Description
    int

    ClientSendQueueCapacity

    Capacity of the send queue (per pipeline-stage) on the client. This should be the maximum number of packets expected to be sent by the client, per pipeline-stage, in a single update (i.e. each render frame).

    Declaration
    public const int ClientSendQueueCapacity = 64
    Field Value
    Type Description
    int

    GhostPrefabLoadingTimeout

    Default amount of time after which a missing ghost prefab on the client will result in an error and forced disconnect from the server.

    Declaration
    public const int GhostPrefabLoadingTimeout = 0
    Field Value
    Type Description
    int

    Timeout in seconds.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)