View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 2022.3.20 or later
- Package size
- 892 KB
- Files
- 31
- Favorites
- 52
- Views in the past week
- 6
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
ECS Spatial Partitioning - Move Millions of Entities
Simple base for Unity ECS games with a top-down view to move very large numbers of entities in an efficient way.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
ECS Spatial Partitioning - Move Millions of Entities screenshot 1
About this asset
This asset provides a simple base for Unity ECS games with a top-down view which need to move a very large number of individual entities with their own targets, speeds and destination wait time. Use cases range from zombie apocalypse shooters to city builders. If you need a million different moving entities, this asset can be your starting point.
The asset includes placeholder spawner and random movement systems that you should replace with your own logic. Example scene and simple step by step instructions are included.
The asset utilizes ECS 1.0 features, Burst and the Job System (DOTS) as well as spatial partitioning to update entities off screen in a more performant, but consistent, way than entities currently within the screen.
Bonus: The asset also comes with a feature rich RTS camera script.
From the publisher's Asset Store listing.
Technical details
- Spatial partitioning by splitting the playable area into a fixed grid of cells
- Utilization of Burst ECS 1.0 features, Burst and the Job System (DOTS)
- Works with Perspective and Orthographic Camera
- Focus on short and simple to understand code
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.20f1 | Not listed | Compatible | Not listed |
Created in Unity 2022 LTS. Requires URP with Rendering Path Forward+ and the two packages Entities and Entities Graphics, version 1.0.
As listed on the Asset Store.