Netcode for Entities project setup
To set up Netcode for Entities, you need to make sure you're using the correct version of the Editor.
Unity Editor version
Netcode for Entities requires you to have Unity version 2022.3.0f1 or higher.
IDE support
The Entities package uses Roslyn Source Generators. For a better editing experience, we suggest using an IDE that's compatible with source generators. The following IDEs are compatible with source generators:
- Visual Studio 2022+
- Rider 2021.3.3+
Project setup
- Open the Unity Hub and create a new URP Project.
- Navigate to the Package Manager (Window > Package Manager).
- Add the following packages using Add package by name under the + menu at the top left of the Package Manager.
- com.unity.netcode
- com.unity.entities.graphics
When the Package Manager is done, you can continue with the next steps.