docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkMetricsPipelineStage

    A pipeline stage that tracks some internal metrics that are then used by the multiplayer tools package. This should only be used when creating a custom NetworkDriver with INetworkStreamDriverConstructor if compatibility with the multiplayer tools package is desired. In that situation, this stage needs to be registered with the constructed driver with RegisterPipelineStage<T>(T).

    Implements
    INetworkPipelineStage
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode.Transports.UTP
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    [BurstCompile]
    public struct NetworkMetricsPipelineStage : INetworkPipelineStage

    Properties

    StaticSize

    Declaration
    public int StaticSize { get; }
    Property Value
    Type Description
    int

    Methods

    StaticInitialize(byte*, int, NetworkSettings)

    Declaration
    public NetworkPipelineStage StaticInitialize(byte* staticInstanceBuffer, int staticInstanceBufferLength, NetworkSettings settings)
    Parameters
    Type Name Description
    byte* staticInstanceBuffer
    int staticInstanceBufferLength
    NetworkSettings settings
    Returns
    Type Description
    NetworkPipelineStage

    Implements

    INetworkPipelineStage
    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)