Search Issue Tracker

Fixed in 5.4.0

Votes

39

Found in

4.0.0f2

Issue ID

496494

Regression

No

[Culling] Shuriken is culling particles when we're using SetParticles

Shuriken

-

Steps to reproduce :

- open the test scene and press play
- notice that when the particle system leaves the camera's frames all the particles vanish

Possible workarounds:
1. keep emission module enabled.
2. set particle's startLifetime to float.MaxValue
3. do 1 call to Emit() prior to setting the particles.

Comments (14)

  1. rawlypete

    May 07, 2016 09:59

    I'm currently still on 5.2 and just uncovered this issue. Fine in editor but particles vanishing when running from .exe.

    The simplest workaround for me was I created a simple Sphere, attached my transform containing the Particle System to the Sphere. Set the Sphere Mesh to disabled and then scripted to move the sphere in front of the camera in Update.

    Solves the problem completely as the parent object is always within the camera view, even when made invisible by turning of the Mesh Renderer.

    void Update () {
    transform.position = Camera.main.transform.position;
    transform.position = transform.position + transform.forward * 20.0f;
    transform.position = transform.position + transform.up * -20.0f;
    }

  2. Laious

    Mar 24, 2016 21:30

    I am having this problem since I upgraded to 5.3.4f1 (was fine on 5.3), on any Windows builds, but it runs fine on the editor. Waiting for 5.4 :)

  3. Sackstand

    Nov 26, 2015 13:41

    and within 5.2 it is still not fixed :(

  4. Alcolepone

    Mar 23, 2015 10:58

    this doesnt work

    Set up another camera (You can set it to render NOTHING and not clear) and point it at your system. Bam, no longer culls. Move your other cameras with reckless abandon!

    or at least not for me : /

  5. Alcolepone

    Mar 23, 2015 10:55

    i too have this issue : /

    i'd expect a simple flag to turn off culling would be easy to add?

  6. PushyPixels

    Jan 01, 2015 18:59

    Just for the record, I found a real quick and dirty workaround. Set up another camera (You can set it to render NOTHING and not clear) and point it at your system. Bam, no longer culls. Move your other cameras with reckless abandon!

    Still would be nice to disable culling but this works for my cases.

  7. Teeleton

    Oct 09, 2014 03:47

    Just ran into this one myself. Unsuccessfully tried all sorts of work-arounds, but may have to just bite the bullet and offset all of the particles from the emitter so it can stay in the frame (lame!)

  8. morbidcamel

    Oct 06, 2014 19:59

    It's time to give us the ability to disable automatic culling on shuriken particle systems! Please Unity!!

  9. Luckymouse

    May 30, 2014 15:01

    Shuriken is useless when emit the particles by script (particleSystem.SetParticles ()). I have the issue that all the particles disappear when it is off the screen.

  10. bleu

    Apr 25, 2014 22:38

    Happens for me too. I think if the center of the particle system moves off-screen then the whole set of particles gets culled...really unfortunate because the particle system is quite useful.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.