docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RpcQueueTests

    The RpcQueue unit tests validate: - Maximum buffer size that can be sent (currently 1MB is the default maximum MessageQueueHistoryFrame size) - That all RPCs invoke at the appropriate NetworkUpdateStage (Client and Server) - A lower level MessageQueueContainer test that validates MessageQueueFrameItems after they have been put into the queue

    Inheritance
    object
    RpcQueueTests
    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 RpcQueueTests

    Methods

    BufferDataValidation()

    This tests the RPC Queue outbound and inbound buffer capabilities.

    Declaration
    [UnityTest]
    [Order(2)]
    public IEnumerator BufferDataValidation()
    Returns
    Type Description
    IEnumerator

    IEnumerator

    Setup()

    Declaration
    [SetUp]
    public void Setup()

    TearDown()

    Declaration
    [TearDown]
    public void TearDown()
    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)