docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Install Netcode for GameObjects

    Follow the instructions on this page to set up Netcode for GameObjects in your Unity project.

    Prerequisites

    Before you begin, you need the following:

    • An active Unity account with a valid license.
    • A supported version of Unity. Check Netcode for GameObjects' requirements for the specific version details.
    • An existing Unity project. If you're new to Unity, you can refer to the get started section for guidance.

    Compatibility

    • Unity Editor version 2021.3 or later
    • Mono and IL2CPP scripting backends

    Supported platforms

    • Windows, MacOS, and Linux
    • iOS and Android
    • XR platforms on Windows, Android, and iOS
    • Most closed platforms, such as consoles. Contact the development team for more information about specific closed platforms.
    • WebGL (requires Netcode for GameObjects 1.2.0+ and Unity Transport 2.0.0+)
    Note

    When working with closed platforms like consoles (PlayStation, Xbox, Nintendo Switch), there may be specific policies and considerations. Refer to your console's documentation for more information.

    Install Netcode for GameObjects with the Package Manager

    1. From the Unity Editor, select Window > Package Manager.
    2. From the Package Manager, select Add add symbol > Add package by name…
    3. Type (or copy and paste) com.unity.netcode.gameobjects into the package name field, then select Add.

    For Unity Editor versions 2020.3 LTS or earlier

    1. From the Unity Editor, select Window > Package Manager.
    2. From the Package Manager, select Add add symbol > Add package by git URL…
    3. Type (or copy and paste) https://github.com/Unity-Technologies/com.unity.netcode.gameobjects into the git URL field, then select Add.

    Next Steps

    After installing Netcode for GameObjects, see the following content to continue your journey:

    • Use the Get started with Netcode for GameObjects tutorial to create a project, test your installation, and learn how to use the basic features of Netcode for GameObjects.
    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)