Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

Has anyone successfully supported 1000+ fighting units in a single scene in Unity?

Discussion in 'Editor & General Support' started by drw58, Aug 22, 2014.

  1. drw58


    Jul 28, 2014
    I understand this is very difficult to do smoothly on today's machines, on all types of engines, Unity, UDK, CryEngine, etc... but maybe someone out there has figured out a way to optimize and manage resources efficiently...

    has any of you successfully supported a huge number of AI characters in a single scene, performing actions concurrently? assume the actions are very simple (walking, following targets, shooting), with simple mechanim animations...using rigidbodies, and each unit has about 5k polygons. It's sort of an RTS game.

    I'm currently researching ways to make this happen (and am making good progress), but didn't want to be reinventing the wheel if someone has already figured out a clever or better way ;)
  2. jtsmith1287


    Aug 3, 2014
    Woah, 5k polygons for an RTS game? I can't answer your question to be honest, so apologies right off, but that's a lot dude. 5k is what you'd see on a player model in an over the shoulder game. That's pretty high detail. Well, not THAT high, but for an RTS, I would be surprised if most RTS game's units are over 1-2k polygons. They also incorporate height/bump/normal mapping to add extra depth. Again, I've got no clue how to optimize 1000 units in your specific case, but cutting down on polygons is going to turn your scene from a 5,000,000+ polygon scene to a 1,000,000+ polygon scene... just in units. :p (this is assuming no LOD).
  3. hopeful


    Nov 20, 2013
  4. thegdeveloper


    Feb 25, 2013
    If you try to create battles in the scale of Total war you must play with teams of units and not with its unit separately. Also 5k polygons is not an option