Skip to main content

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

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: