Unity Issue Tracker - Audio random container pitch fields can be set beyond their max and min constraints
Fixed
UUM-73045
Audio random container pitch fields can be set beyond their max and min constraints
Unity: Audio Random Container
Fixed
6.0.X
Won't Fix
6.1.X
Fixed before version branch off
Fixed an issue in the Audio Random Container where the pitch field clamp range was inconsistent and could be set beyond the UI clamp range (-1200 and +1200).
Steps to reproduce:
Create and open an empty project.
Create an audio random container asset (Asset > Create > Audio > Audio Random Container).
Set the pitch float field to 5000. It clamps to 1200.
Set the pitch float field again to 5000.
Actual results: It clamps to 2400.
Expected results: It clamps to 1200.
Reproducible with versions:
6000.0.5f1
Tested on (OS): MacOS (M1) 14.4.1
Notes:
This also applies to clamping to minimum values, i.e. it clamps to -2400 instead of -1200.
This also applies to the randomize min and max fields.
This does not apply to any other field, such as volume and time.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?