docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SimulatorPipelineStage

    The SimulatorPipelineStage could be added on either the client or server to simulate bad network conditions. It's best to add it as the last stage in the pipeline, then it will either drop the packet or add a delay right before it would go on the wire.

    Implements
    INetworkPipelineStage
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport
    Assembly: Unity.Networking.Transport.dll
    Syntax
    [BurstCompile]
    public struct SimulatorPipelineStage : INetworkPipelineStage

    Properties

    StaticSize

    Gets the value of the static size

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

    Methods

    StaticInitialize(byte*, int, NetworkSettings)

    Statics the initialize using the specified static instance buffer

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

    The static instance buffer

    int staticInstanceBufferLength

    The static instance buffer length

    NetworkSettings settings

    The net params

    Returns
    Type Description
    NetworkPipelineStage

    The network pipeline stage

    Implements

    INetworkPipelineStage
    In This Article
    Back to top
    Copyright © 2025 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)