Netcode for Entities Project Setup
To setup Netcode for Entities, you need to make sure you are on 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 to use 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). And add the following packages using Add package from git URL... 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 part.