Back to Entitycomponentsystemsamples

New Entities project setup

EntitiesSamples/Docs/project_setup.md

latest1.2 KB
Original Source

New Entities project setup

With Unity 2022.2, create a new project from either an HDRP or URP template, then add the DOTS packages that you need by name from the package manager:

  • com.unity.entities
  • com.unity.entities.graphics (for rendering entities)
  • com.unity.collections (unmanaged collection types)
  • com.unity.physics (for collision detection and physical simulation of entities)
  • com.havok.physics (alternative Havok-provided "backend" for physics)
  • com.unity.netcode (for entities-driven server-client multiplayer)

These packages will include com.unity.burst and com.unity.mathematics as dependencies.

When working in an Entities project, you normally want these two settings: