Agents Navigation - Crowds 1.2.0 Crowd AI Behavior Extension Package | Agents Navigation - Crowds
Overview
Key features
Performance cost scales with grid size multiplied by group count instead of pure agent count, which allows huge crowds at lower performance cost.
Pathing and avoidance are combined, which greatly reduces the likelihood of agents getting stuck because of local avoidance.
Each agent group must share common destination goals.
Agents show much better flow in huge crowds, but at the same time they lose individuality and favor group flow instead of their own.
Seamless Unity integration: harmoniously integrates with existing Unity technology, supporting both Mono and DOTS.
Intuitive and streamlined user experience.
Optimized performance out of the box through parallelized and optimized code.
Clear code architecture with a multi-layered API that facilitates low-level interactions.
Scalable and modular codebase that allows easy extension with minimal package changes; extending functionality efficiently requires knowledge of ECS.
Hybrid mode support: GameObjects are synced with Entities, which allows using the package in object-oriented programming; performance is slightly worse in hybrid mode.
Supports ECS.
All existing features from the base Agents Navigation package work seamlessly with this package, and crowd agents can be mixed with NavMesh agents.
All systems run in Fixed Update. In theory, the package should be deterministic for Intel/AMD platforms (Burst), but it still uses floats for navigation operations, which will not produce deterministic code across all platforms.
Included content
Board Defense: a small subset of a tower defense game, with common systems such as building towers.
Compatibility
Minimum Unity version 2022.3.10f1.
Version 1.3.0 was updated to support Unity 6.6, and version 1.3.1 fixed a compilation error in Unity 6.6.
The version sold here is 1.3.2; actual support is governed by that version. The official current specifications are for reference only and do not promise new features for this older version.
Requirements
Package com.unity.entities.
Minimum Unity 2022.3.10f1.
Extending functionality efficiently requires knowledge of ECS.
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.62f3 |
Technical specifications
- Original creator
- Lukas Chodosevicius
- Current official version
- 1.3.2
- Supported engines
- 2022.3.62, 2022.3.62f3
- Render pipelines
- 2022.3.62f3 · Built-in / HDRP / URP
- Official file size
- 3.84 MB
- Official update date
- 2026-11-07
- Asset file count
- 136
- Package format
- unitypackage
- First official release
- 2023-12-02
Tags
Full description
This package is an extension of existing agent navigation systems that provide alternative pathing solutions using flow/velocity fields for crowds. It is developed with DOTS in mind. As a result, it takes advantage of Unity's latest technology stack, like SIMD mathematics, Jobs, Burst compiler and EntityComponentSystem. Additionally, there is hybrid mode support that enables using it with GameObjects in Object Oriented Programming. Pillars of this package: Seamless Unity Integration: Harmoniously integrates with existing Unity technology, supporting both mono and dots. Intuitive and Streamlined UX: Offers a clean and simple user experience tailored for perfect alignment with Unity. Optimized Performance Out of the Box: Ensures default high performance through parallelized and optimized code. Clear Code Architecture: Adheres to clean coding practices with a clear architecture. Employs a multi-layered API, facilitating low-level interactions. Scalable and Modular Codebase: Built with scalability and modularity in mind, allowing easy extension with minimal package changes. Can I use this in non ECS/Dots code? Yes, there is a hybrid workflow where GameObjects are synced with Entities. This allows to use this package in Object Oriented Programming too. Of course, it should be expected that performance is going to be slightly worse. Can I use it with ECS? Yes, this package uses ECS. What game genres this navigation targets? This package is best suited for tower defense, battle simulations, massive RTS, and any other game genre that favors huge crowds. It is rumoured that a similar solution was used in Supreme Commander 2. Can I extend functionality? Yes, the package was designed in mind that it could be extended as every game has unique needs for AI navigation. This solution is very modular and allows trivial adding/removing of existing behaviors. However, to extend functionality efficiently, you will need to have knowledge of ECS. Is it deterministic? All systems are running in fixed update. In theory, it should be deterministic for Intel/AMD platforms (Burst). However, it still uses floats for navigation operations, which will not produce deterministic code across all the platforms. How does this package differ from Agents Navigation? This is an extension package of it and provides an alternative solution for pathfinding using flow fields. In addition, all the existing features from the base agent navigation seamlessly work with this package. It even allows mixing crowd agents with navmesh agents. What is flow field and how does it compare vs typical navmesh pathfinding with avoidance? The flow field is a grid-based graph, and a key difference is that the agent's steering velocity is calculated not per agent but per grid cell. The key differences are as follows: Performance cost scales with grid size multiplied by group count instead of pure agent count. This allows for huge crowds with lower performance costs. Pathing and avoidance are combined, resulting in a greatly reduced likelihood of scenarios where agents get stuck due to local avoidance. Each agent group must share common destination goals, which means performance can quickly degrade if there are many groups. Agents exhibit much better flow in huge crowds, but at the same time, agents lose individuality and favor group flow instead of their own. Dependencies Minimum Unity 2022.3.10f1 Package com.unity.entities Package com.projectdawn.navigation THIS PACKAGE REQUIRES AGENTS NAVIGATION!!! Crowd flow Scenarios - contains small isolated test scenes that showcase some common navigation behaviors (etc. circle, hallway, group ...) Board Defense - small subset of tower defense game. With some common systems like building towers.
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.