Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4

2019.2.21f1

2020.2

Issue ID

1222573

Regression

No

Particle System with Prewarm does not pre-initialize the Particle Effect when using Random between two constants setting

Visual Effects - Legacy

-

How to reproduce:
1. Open the project from the attached file "1222573.zip"
2. Select the "Particle System" GameObject from Hierarchy
3. Make sure Start Lifetime has 2 different constants and Prewarm is enabled
4. Restart the Particle Effect using the panel in the bottom right corner of the Scene View and inspect the value of Particles

Expected result: maximum particle count is reached straight away
Actual result: particles take a few seconds to build up to maximum particle count

Reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.3f1, 2020.1.0a25, 2020.2.0a1

Notes:
- Also reproducible with "Curve" and "Random between two curves" options
- With "Random between two constants" option, only reproducible when using two different constants

  1. Resolution Note:

    I've had a look into this, but unfortunately it's quite risky to try and fix, and we are prioritizing stability for the Particle System now.
    It's possible to workaround this issue by setting the max particles to 1000 instead of 500, but this will give a slightly different behaviour. Perhaps you could set the MAx Particles to 500 after the prewarm, to get something close to the desired behaviour?

    Sorry for the inconvenience!

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.