Gita Assets
Unity / Plugins

Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds

Overview

Agents Navigation - Crowds is an extension package for Agents Navigation that adds an alternative pathfinding solution for crowds using flow/velocity fields. It is developed with DOTS in mind, taking advantage of SIMD mathematics, Jobs, the Burst compiler and the EntityComponentSystem, and it also offers a hybrid mode that syncs GameObjects with Entities so it can be used in object-oriented programming.

Key features

Crowd pathfinding based on flow fields: an agent's steering velocity is calculated per grid cell, not per agent.
Performance cost scales with grid size multiplied by group count instead of pure agent count, allowing huge crowds with lower performance costs.
Pathing and avoidance are combined, greatly reducing the likelihood of scenarios where agents get stuck due to local avoidance.
Agents exhibit much better flow in huge crowds, and each agent group shares common destination goals.
Seamless Unity integration: harmoniously integrates with existing Unity technology, supporting both Mono and DOTS.
Intuitive and streamlined UX, tailored for perfect alignment with Unity.
Optimized performance out of the box through parallelized and optimized code.
Clear code architecture adhering to clean coding practices, with a multi-layered API facilitating low-level interactions.
Scalable and modular codebase, built to be extended easily with minimal package changes.
Hybrid workflow: GameObjects are synced with Entities, so the package can be used in non-ECS/DOTS code (with slightly worse performance expected).
Supports ECS; all systems run in fixed update, so in theory it 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.
All existing features from the base Agents Navigation seamlessly work with this package, and crowd agents can be mixed with NavMesh agents.
Best suited for tower defense, battle simulations, massive RTS, and any other game genre that favors huge crowds.
Extensible: the package is very modular and allows trivial adding or removing of existing behaviors, though extending functionality efficiently requires knowledge of ECS.

Included content

Crowd flow. Scenarios: small isolated test scenes showcasing common navigation behaviors (for example circle, hallway, group, and more). Board Defense: a small subset of a tower defense game, with common systems such as building towers.

Compatibility

Minimum Unity 2022.3.10f1. Unity 2022.3.62f3: Built-in render pipeline supported, URP supported, HDRP supported. The version sold here is 1.3.2; actual support is based on that version, and older versions are not promised to have newer versions' features.

Requirements

Requires Agents Navigation. Requires the com.unity.entities package and the com.projectdawn.navigation package.

Render pipeline compatibility

UnityBuilt-inURPHDRP
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 Game Object are synced with Entities. This allow to use this package in Object Oriented Programming too. Of course, it should be expected that performance 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 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 showcases 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.

Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds · Unity Plugins · Preview 3Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds · Unity Plugins · Preview 4Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds · Unity Plugins · Preview 5Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds · Unity Plugins · Preview 6Unity Agents Navigation Crowds 1.3.2 | Agents Navigation - Crowds · Unity Plugins · Preview 7
Contact support