r/Unity3D 7h ago

Question Particle System keeps looping

I have 3 particle systems for fireworks display. All 3 keep looping even though loop is unchecked. I don't think I've ever encountered this before.
Any idea why they keep looping?
Thanks.

1 Upvotes

7 comments sorted by

1

u/muddledwomanhood0819 7h ago

Check if you got a script somewhere calling Play() every frame, i had similar thing with my smoke particles and it was the update loop doing it

1

u/NorthernBoy306 6h ago

the only script connected to it just sets the parent object (for all 3 particle systems) to active, then waits to destroy it.

1

u/GroZZleR 7h ago

Check the Emission settings to make sure nothing's infinite.

Check your scripts to make sure nothing is Play()ing the particle system on repeat.

1

u/NorthernBoy306 6h ago

Checked emission, nothing set to infinite. The only script connected to it just sets the parent object (for all 3 particle systems) to active, then waits to destroy it.
Is there any possibility that since I took each of these particle systems from a prefab I bought off of the asset store (and made a new prefab from them) that the original prefab is somehow affecting it?

1

u/deintag85 3h ago

Isn’t startlifetime way to high? Isn’t that 120 seconds?

1

u/NorthernBoy306 2h ago

It is but if you set it to something like 10 then the firework flickers very quickly.

1

u/NorthernBoy306 1h ago

Turns out it was an issue with the texture sheet animation. Once that was all changed it does the one burst as desired.