Search Unity

Shuriken particle system vs. Legacy ( performance issues )

Discussion in 'General Graphics' started by Gooseman_1977, Jan 15, 2015.

  1. Gooseman_1977

    Gooseman_1977

    Joined:
    Aug 15, 2013
    Posts:
    89
    I'm working on a shooting game for mobile devices and I had some severe performance issues using the shuriken particle system whenever there was more than 20 particle systems on screen at the same time. I know many people will recommend not having so many particle systems visible at the same time but being a shooting game, it really is hard to put a cap on that.

    I came across some threads suggesting that I use the legacy system for particle effects that occur frequently (such as bullet impacts)

    Using the legacy system, I was able to use a global particle emitter to spawn impact fx for all of the bullet impacts (thereby reducing my draw calls TREMENDOUSLY).

    In a scene with 20 bullet impacts:
    Shuriken system had 40 draw calls
    Legacy system had 2 draw calls !!!

    My FPS went up significantly ever since switching to the old Legacy particle system. I only use the shuriken for particle effects that occur very rarely (like a car explosion).

    In Conclusion: Shuriken is much more user friendly to set up nice looking particle effects but if you plan on having any more than 10 particle effects visible at the same time, you really should consider switching to Legacy (especially on mobile devices). I wish the Unity documentation would have made that more obvious.
     
unityunity