DOTS Traffic City is a powerful tool for creating city traffic - Design it from the ground up or customise any existing asset pack to fit your vision!
It uses the extremely powerful DOTS Entities package to simulate thousands of vehicles and pedestrians with unbelievable performance!
Key features:
Traffic
Pedestrians
City
Tools
Demo Scenes
For more information about the scenes, read the Project Scenes.
Tutorial Playlist
Demo
To get started
Contact me
Read the Limitations in the Technical Details section.
Third-party usage:
Projects:
Please read Third-Party Notices.txt for more information
For more information read the Change log section.
[1.7.1] - 28-03-2026
Changed
- Added a new clear job for hashmap systems.
Fixed
- Fixed physics culling for dots physics cars.
- Fixed baking order for simple physics cars to avoid a potential exception.
[1.7.0] - 25-03-2026
Added
- Added support NetCode for Entities.
- Added support for multiple cull points for local split-screen multiplayer.
- Reworked the GPU animation engine, which reduces the overall number of draw calls, adds custom timings for each animation, and provides a more convenient workflow.
- Added support for runtime attachments & animation events for GPU animations.
- Added custom animation speed for walking animations for each entity for all animation engines (Unity Animator, Built-In GPU Engine, Rukhanka, and Animatron).
- Ability to add runtime pedestrian nodes for custom pedestrian routes or buildings.
- Added methods for adding runtime custom roads by custom chunks to reduce overhead across the frame during the creation of large maps at runtime.
- Added a new parameter to reduce or prevent overtaking from the road side.
- Added checking the opposite lane for obstacle during avoidance for straight roads.
- Added a new option adding different wagons for trains at runtime.
- Improved precision for obstacle detection on short-width roads.
- Added position handles for the default type of segments.
- Added mono vehicles to Polygon city template.
- Added choise for entity types in the Hub selection window
- Added 3 new weapons to the Demo Mono scene.
- Added Roundabout support for Road constructor editor scene.
- Added Unity 6.4 support.
Changed
- Improved the performance of some high-loaded systems.
- Improved parking navigation for traffic.
- Improved EasyRoads3D generation.
- Significantly improved performance of adding runtime roads for giant maps.
- All of the demo city scenes prefabs have been moved to separate presets.
- Improved Roundabout template workflow.
Fixed
- Fixed the build size for giant entity scenes.
- Fixed a potential exception in avoidance system.
- Fixed avoidance at intersections in some cases.
- Fixed jittering for no physics cars during avoidance.
- Fixed speeding of approaching vehicles with custom behavior.
- Fixed the roundabout template when the entrance traffic node has a different lane number than the inner traffic nodes.
- Fixed compatibility with latest Polygon City template.
- Fixed collision avoidance for dots vehicles in traffic areas.
- Fixed Trigger and Destroy type for Traffic node.
[1.6.5] - 08-01-2026
Added
- Added custom post processing for mono cars during car creating in the car prefab creator.
Fixed
- Fixed targeting for custom physics vehicle for some corner cases.
- Fixed weight parameter for mono cars in the car prefab creator.
- Fixed navigation for parking segment if it merged with other segment.
- Fixed change lane during A* navigation for some corner cases.
[1.6.4] - 31-12-2025
Added
- Added unity vehicle support.
- Added a car player blocker component for mono traffic to prevent the player from being push the car if it the player has custom controller.
Changed
- 2 unused layers were removed from the demo scene.
Fixed
- Removed scheduling from Begin Simulation systems to prevent potential structural changes during Job System.
- Fixed road constructor generation for some cases.
- Fixed the demo's mono bullet collision with pedestrians.
- Fixed the player demo's shooting on non-flat surfaces.
[1.6.3] - 28-11-2025
Fixed
- Fixed the missing driving sound for cars (1.6.0 regression).
- Fixed player interaction with cars in Demo scenes (1.6.0 regression).
[1.6.2] - 24-11-2025
Fixed
- Fixed compatibility with Unity 2022.3
- Fixed PathHashMapSystem Burst error message.
[1.6.1] - 21-11-2025
Added
- Added the ability to change lanes during built-in A* navigation for traffic.
- Added the ability to follow traffic to a user-defined point.
- Added new events for spawning and reaching the target for pedestrians.
Changed
- The project no longer overrides constant scripts and enums during version updates.
Fixed
- Fixed unexpected acceleration beyond the maximum speed for mono cars.
- Fixed the issue of the traffic light not linking with the crossroad when it was in an arbitrary hierarchy during the entity root scene was moved to the main scene.
- Fixed potenial warning messages after subscene generation.
- Fixed Road constructor traffic lights intergration.
- Fixed Road constructor being set wrong speed limit for runtime scene.
- Fixed auto crossroad generation for left-lane driving.
- Fixed a minor memory leak in the traffic test scene.
[1.6.0] - 09-11-2025
Added
- Added Animatron support.
- Added a new API & Runtime RawData Demo scene that demonstrates the generation of a road from raw data at runtime.
- Added new detection obstacle method for traffic at intersections to improve better obstacle detection in some corner cases.
- Added tools to the Road Segment Creator for quickly merging Traffic nodes, creating new Traffic nodes, and creating a new Road segment from an existing one.
- Added auto-crossroad recalculation during its editing.
- Added support for single or multi-container splines in the Road segment creator.
- Added smooth corners of pedestrian nodes for Custom road segment.
- Added validation for traffic light.
- Added auto-connect for custom segments that are added during runtime.
- Added U-turn support for runtime roads.
- Added RuntimeSegmentCustomView helper scene component to view RuntimeSegmentCustom data.
- Added support for custom lane counts for the forward & backward directions of traffic nodes for custom runtime road.
- Added support for merge road for custom runtime road.
Changed
- Improved along path generation of pedestrian nodes for Custom straight road segment.
- Monobehaviour type was removed from RuntimeSegmentCustom script to reduce overhead.
- The editor metadata was removed from the serializable dictionary.
Fixed
- Fixed deprecation messages for Entities 1.4.2+ & Unity 6.3.
- Fixed compatibility with Rukhanka 2.5.0+.
- Fixed a potential NaN destination for traffic in rare cases.
- Fixed raycast for DOTS cars & obstacle detection outside its path.
- Fixed unexpected activation avoidance for traffic on long roads in some cases.
- Fixed the path drawer exception at the start of the scene if it was initially enabled.
- Fixed simple mono preset.
- Fixed cyclic obstacle avoidance case.
- Fixed Road Constructor generation for some cases.
[1.5.0b] - 02-10-2025
Fixed
- Fixed a build compilation issue due to the missing scripting define UNITY_EDITOR.
[1.5.0] - 30-09-2025
Added
- Added new option to enable different driving styles for traffic.
- Added random lateral offset for traffic.
- Added ability for traffic to avoid player & custom obstacles.
- Added GPU skinning bone method animation to significantly reduce texture memory usage.
- Added new lightweight simple vehicle controller for mono cars.
- Added new sample for arcade vehicle controller with heavy mass.
- Demo project importing according to player choise at start.
- Added ability to choose which toolbar path to use for a project in the editor.
- Added an option to cull vehicle sounds based on distance.
- Added weight spawns for pedestrian NPCs.
- Hybrid shape factory can override hybrid shape for certain pedestrians.
- Added Static transform hybrid component for static runtime entities.
- Added capability to select unique car models for each lane in the Traffic road debugger component.
- Added new API to find the closest traffic path or pedestrian node entity to a given point in the scene.
- Added validation for Traffic Area authoring.
Changed
- Entities.graphics package is no longer required if Mono physics cars & Hybrid Legacy pedestrians are in use.
- Unity.physics package is no longer required if NoPhysics or Mono physics cars are in use.
- Cinemachine package is no longer required.
- Polygon city sample updated with new GPU animations.
- City pack sample updated with new GPU animations.
- Improved path recalculation during parking builder mode.
Fixed
- Fixed RaycastCommand for Arcade vehicles for Unity 6.2.
- Fixed potential vehicle rollover for simple physics cars.
- Fixed pedestrians no longer get stuck in cars due to car movement during local avoidance.
- Fixed an issue with invalid input for the mono traffic car when reversing in rare cases.
- Fixed an issue with obstacle detection at intersections when both vehicles were targeting the same destination.
- Fixed compatiblity with Road Constructor 1.7.0+
[1.4.4] - 29-08-2025
Changed
- Added traffic light cloning for the traffic lights that are part of the road prefab.
Fixed
- Fixed installation on Unity 6.2.
- Fixed a potential jitter for Arcade vehicle controller on Unity 6+.
- Fixed compatiblity with Agents Navigation 4.2.0+.
- Fixed disappearing traffic lights during subscene generation in some corner cases.
- Fixed movement for simple dots vehicles.
- Fixed truncation warning for animation shader.
[1.4.3] - 01-07-2025
Added
- A crosswalk node type has been added for crosswalks without traffic nodes.
- Added crosswalk system for pedestrian passing the road in the crosswalk node type.
- Added npc obstacle with flexible detection area based on its speed.
- NPC obstacle offset authoring has been added for certain vehicles that require a custom offset for NPC obstacle detection.
Fixed
- Fixed Road Constructor compatibility.
- Fixed A* compatibility.
- Fixed rotation of attachment for Rukhanka hybrid pedestrian.
- Fixed Rukhanka hybrid animation event registration.
- Fixed chaser controller spawn.
- Fixed Car prefab creator for some corner cases.
[1.4.2b] - 08-05-2025
Fixed
- Fixed ragdoll system exception for Hybrid pedestrian.
- Fixed sound looping for custom user sound.