When you set up an Entities project, there are additional steps you must follow.
Check the overview of the available DOTS packages.
You should add the following recommended set of core packages to your project:
The Entities package uses Roslyn Source Generators. Because of this, you should use an IDE that's compatible with source generators. Previous IDE versions might experience slow-downs or mark valid code as errors. The following IDEs are compatible with source generators:
- Visual Studio 2022+
- Rider 2021.3.3+
To get the best performance in your Entities project, you should disable Unity's Domain Reload setting. To do this, go to Edit > Project Settings > Editor menu, and enable the Enter Play Mode Options setting, but leave the Reload Domain and Reload Scene boxes disabled.
Note
If you disable Domain Reloads be mindful of your use of static fields and static event handlers.