Version: 1.5.2
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
- 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 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
- From the Unity Editor, select Window > Package Manager.
- From the Package Manager, click Add > Add package by name…
- 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
- From the Unity Editor, select Window > Package Manager.
- From the Package Manager, click Add > Add package by git URL…
- 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:
- Use the Get started with NGO tutorial to create a project, test your Netcode install, and learn how to use the basic features of Netcode for GameObjects.
- Check out the educational samples to further explore Netcode and its abilities: