Skip to main content

Install Netcode for GameObjects

You can use this guide to help you set up Netcode for GameObjects (NGO) in your Unity project.

Prerequisites

Before you begin installing Netcode, make sure you have the following:

  • An active Unity account with a valid license.
  • A supported version of Unity. Check Netcode's requirements for the specific Unity version details.
  • An existing Unity project. If you're new to Unity, you can refer to the Get started with NGO 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 NGO development team for more information about specific closed platforms.
  • WebGL (requires NGO 1.2.0+ and UTP 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 NGO with the Package Manager

  1. From the Unity Editor, select Window > Package Manager.
  2. From the Package Manager, click 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 version 2020.3 LTS or earlier

  1. From the Unity Editor, select Window > Package Manager.
  2. From the Package Manager, click 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(NGO), see the following content to continue your journey: