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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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!