Search Issue Tracker

By Design



Found in


Issue ID




Minimum value of Random Between Two Constants unaffected after changing multiplier values

Visual Effects - Legacy


Steps to reproduce:
1.Open attached ’' 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);

Comments (3)

  1. 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.

  2. 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.

  3. 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.

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.