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

Question Particle system alive for too long after emitters die?

Discussion in 'Scripting' started by msh91, Dec 27, 2020.

  1. msh91

    msh91

    Joined:
    Apr 22, 2017
    Posts:
    37
    I have a particle system component with:

    - Duration: 0.40
    - Start Lifetime: Random between two constants: [0.2, 0.4]
    - Stop Action: Callback
    - Emission
    - Rate over Time: 0
    - Rate over Distance: 0
    - Bursts: 3 at time 0.

    However, it seem the particle system only dies after 3 seconds.
    I can see it from both the callback being called in delay, and when playing the particle system in the editor.

    What am I missing then?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
  3. msh91

    msh91

    Joined:
    Apr 22, 2017
    Posts:
    37
    Kurt-Dekker Yeah I am.
    Actually mine is set to private btw. But as far as I know all unity events can be made private, and they're working.

    Anyway I tried changing it to public now just in case, same result.
     
  4. msh91

    msh91

    Joined:
    Apr 22, 2017
    Posts:
    37
    Anyone? any thoughts/ideas ?
     
  5. ZackCee

    ZackCee

    Joined:
    Oct 21, 2020
    Posts:
    10
    simluation speed?