docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UnityTransportTests

    Inheritance
    object
    UnityTransportTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.RuntimeTests
    Assembly: Unity.Netcode.RuntimeTests.dll
    Syntax
    public class UnityTransportTests

    Methods

    Cleanup()

    Declaration
    [UnityTearDown]
    public IEnumerator Cleanup()
    Returns
    Type Description
    IEnumerator

    CurrentRttReportedCorrectly()

    Declaration
    [UnityTest]
    [UnityPlatform(include = new RuntimePlatform[] { RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor })]
    public IEnumerator CurrentRttReportedCorrectly()
    Returns
    Type Description
    IEnumerator

    DisconnectOnReliableSendQueueOverflow()

    Declaration
    [UnityTest]
    public IEnumerator DisconnectOnReliableSendQueueOverflow()
    Returns
    Type Description
    IEnumerator

    MultipleSendsSingleFrame(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    public IEnumerator MultipleSendsSingleFrame(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    PingPong(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    public IEnumerator PingPong(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    PingPongSimultaneous(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    public IEnumerator PingPongSimultaneous(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    ReceiveMultipleClients(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    public IEnumerator ReceiveMultipleClients(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    ReliablePayloadsCanBeLargerThanMaximum()

    Declaration
    [UnityTest]
    public IEnumerator ReliablePayloadsCanBeLargerThanMaximum()
    Returns
    Type Description
    IEnumerator

    SendCompletesOnUnreliableSendQueueOverflow()

    Declaration
    [UnityTest]
    [UnityPlatform(exclude = new RuntimePlatform[] { RuntimePlatform.Switch, RuntimePlatform.PS4, RuntimePlatform.PS5 })]
    public IEnumerator SendCompletesOnUnreliableSendQueueOverflow()
    Returns
    Type Description
    IEnumerator

    SendMaximumPayloadSize(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    [UnityPlatform(exclude = new RuntimePlatform[] { RuntimePlatform.Switch, RuntimePlatform.PS4, RuntimePlatform.PS5 })]
    public IEnumerator SendMaximumPayloadSize(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    SendMultipleClients(NetworkDelivery, NetworkFamily)

    Declaration
    [UnityTest]
    public IEnumerator SendMultipleClients(NetworkDelivery delivery, NetworkFamily family)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    NetworkFamily family
    Returns
    Type Description
    IEnumerator

    SendQueuesFlushedOnLocalClientDisconnect(NetworkDelivery)

    Declaration
    [UnityTest]
    public IEnumerator SendQueuesFlushedOnLocalClientDisconnect(NetworkDelivery delivery)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    Returns
    Type Description
    IEnumerator

    SendQueuesFlushedOnRemoteClientDisconnect(NetworkDelivery)

    Declaration
    [UnityTest]
    public IEnumerator SendQueuesFlushedOnRemoteClientDisconnect(NetworkDelivery delivery)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    Returns
    Type Description
    IEnumerator

    SendQueuesFlushedOnShutdown(NetworkDelivery)

    Declaration
    [UnityTest]
    public IEnumerator SendQueuesFlushedOnShutdown(NetworkDelivery delivery)
    Parameters
    Type Name Description
    NetworkDelivery delivery
    Returns
    Type Description
    IEnumerator

    SimulatorParametersAreEffective()

    Declaration
    [UnityTest]
    [UnityPlatform(include = new RuntimePlatform[] { RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor })]
    public IEnumerator SimulatorParametersAreEffective()
    Returns
    Type Description
    IEnumerator
    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)