docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetcodeIntegrationTest.NetworkManagerInstatiationMode

    Used to define how long NetworkManager instances persist between tests or if any should be created at all.

    Namespace: Unity.Netcode.TestHelpers.Runtime
    Assembly: Unity.Netcode.Runtime.Tests.dll
    Syntax
    public enum NetcodeIntegrationTest.NetworkManagerInstatiationMode

    Fields

    Name Description
    AllTests

    This will create one set of NetworkManagers used for all tests within a child derived class (destroyed once all tests are finished)

    DoNotCreate

    This will not create any NetworkManagers, it is up to the derived class to manage.

    PerTest

    This will create and destroy new NetworkManagers for each test within a child derived class

    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)