Skip to main content
Discovery icon for Official Unity Discord Discord server

Official Unity Discord

28,726 Online
140,080 Members
# 💻┃unity-talk8 people

Optimizing large unit crowds

Large unit counts can be achieved with pooled GameObjects and Jobs instead of migrating entirely to Entities ECS.

  • Migrating fully to Entities slows iteration and authoring, whereas high agent counts remain achievable with standard GameObjects
  • Flow fields and reciprocal velocity obstacles (RVO) provide scalable pathfinding and avoidance for large hordes
  • Offloading transform and collision calculations to Jobs or Burst can update 10,000 pooled GameObjects with minimal main-thread overhead
  • Data dependencies in neighbor avoidance and collision checks limit parallel batching efficiency regardless of the architecture used
  • Mesh renderers with shared shaders benefit from GPU occlusion culling via Resident Drawer, which Entities currently lacks
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App