Search Unity

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

100 000 objects on scene showcase

Discussion in 'General Discussion' started by Wrymnn, Jan 17, 2015.

  1. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    352
    Hi there,

    don`t know if this is right thread or should I post this in Work in Progress (If I`m wrong, more it there pls), but I didn`t want to talk about the game itself, features etc. only about the system I managed to get more than 100 000 objects on scene in Unity 4.6.



    You can see on bottom left corner, number of objects and number of ships. Don`t know if 5000 active ships (and 100 000 objects in general) is a lot or not, but I think for Unity3d and physics system this is great in my opinion.
    I hope I can get even more objects on scene in the future as I progress.

    Each ship has more than one turret, rigidbody, collider, trail renderer, etc. (Ofc those components are not active at all times)

    The explosion etc. effects are bad, since I aimed at performance for now. When the camera zooms out, the objects are not "deactivated", they still move, deal damage and have 100% functionality, so entire galaxy is alive.

    Maybe you guys can get this number even higher, 10 000+ active objects at time, or even more, if you did, please share your knowledge or techniques if you want :D

    But I`m glad I use Unity and that it is capable of handling such an enormous scenes.
     
    Last edited: Jan 17, 2015
    BrandyStarbrite likes this.
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Is it Unity 5? if so the culling is multi core afaik :)
     
  3. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    352
    haha no its Unity3d 4.6 :D
     
  4. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    I have no idea what a Unity3d is, @hippocoder do you know what a Unity3d is?

    Haha..


    But @Wrymnn - Good work buddy :p
     
  5. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    2,068
    Wooah! Cool! :D
     
  6. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    I'd say it all depends on the machine you are running this on. If you have a machine from 7 years ago it is probably very impressive. If you have a modern beast of a gaming machine then it may be normal performance. Hard to know without putting out a demo so people can test on their own machines.
     
  7. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    That is very true, 300 AI crashed the hell outta my crap lol. But of course that was with Skin Renderers, animations, rigidbodies, etc lol.

    but still regardless 300 vs 100,000 +k isn't even a comparison lol.
     
    GarBenjamin likes this.
  8. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    352
    haha okay challenge accepted :)

    Will try to put it on other PC we have in house. Will share the result, specs after xD



    Also thanks mate :)