Search Issue Tracker
By Design
Votes
0
Found in
2017.1.1p1
Issue ID
950102
Regression
Yes
Minimum value of Random Between Two Constants unaffected after changing multiplier values
Steps to reproduce:
1.Open attached ’ParticleSystemMultiplier.zip' Unity project
2.Select ‘Particle System’ object in Hierarchy
3.Check ‘Start Speed’ and ‘Start Size’ values in the Inspector
4.Enter Play mode
5.Check ‘Start Speed’ and ‘Start Size’ values again
Expected results:
Minimum and Maximum values of ‘Start Speed’ and ‘Start Size’ are changed after entering Play mode
Actual results:
Only the Maximum value of ‘Start Speed’ and ‘Start Size’ is changed after entering Play mode
Reproduced in: 2017.3.0a7, 2017.2.0b11, 2017.1.1p2, 5.6.3p3, 5.6.2p3, 5.6.1f1, 5.6.0p4
Didn’t reproduce in: 5.6.0p3, 5.6.0p1, 5.6.0f1, 5.6.0a3, 5.5.4p5
Regression introduced in: 5.6.0p4
-----------------
Multiplier is only supposed to change the max value.
To set Random Between Two Constants values, both min and max values have to be entered, e.g.:
main.startSize = new ParticleSystem.MinMaxCurve(minVal, maxVal);
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
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Alexees
Jun 15, 2020 17:46
I'm a little confused myself. When using a curve, the whole curve is just multiplied. Same for a constant, since it is just a single value of course. But then I'd expect the RESULT of a random value between constants to be multiplied, not just the maximum value.
Foo-Byte
Feb 02, 2018 17:13
+1 to reopen.
If the multiplier doesn't scale the entire particle system's MinMaxCurve, it's essentially useless.
If this really is "By Design", it's a poor design choice. Furthermore, since only the max is scaled down you can get into a situation where the minimum size is GREATER than the maximum size. Particles end up being bigger than the maximum size, which is undoubtedly a bug.
FinFM
Nov 15, 2017 14:45
Please, reopen this issue.
Didn't get why it is "By Design", if it is break the logic of multiplier.