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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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!