Unity Issue Tracker - Slider rounding does not allow setting certain valid numbers as Values when Low and High Values not set to default
Fixed
UUM-90139
Slider rounding does not allow setting certain valid numbers as Values when Low and High Values not set to default
Unity: UI Builder
Fixed
6.3.X
Won't Fix
6.2.X
6.1.X
6.0.X
Low UP cosmetic issue that requires too many changes to be safe to backport.
Low UP cosmetic issue that requires too many changes to be safe to backport.
Low UP cosmetic issue that requires too many changes to be safe to backport.
Steps to reproduce:
Open a Unity Project
Create a new UI Document asset via Create > UI Toolkit > UI Document
Open the new UI Document in UI Builder by double clicking on it
Drag a Slider (Int) or Slider control onto the canvas
Select the Slider and set the Low Value to 100 and the High Value to 200
Attempt to type in 125 to the Value property
Actual results: It is not possible to set the value to 125 as it continually keeps rounding the number up to 200. You are forced to copy and paste the value in if you want it.
Expected results: It is possible to type the value as 125
Reproducible with versions: 7000.0.0a11, 6000.1.0a6, 6000.0.30f1
Not reproducible with versions: 2021.3.45f1
Can't test with versions: 2022.3.53f1
Tested on (OS): Ubuntu 24.04, Windows 11
Notes:
While this didn't occur on 2021, it is not a regression as it was a purpose change to start to clamp the Value between the Low and High Value (in 2021 the value was not clamped)
Can not test in 2022.3.53f1 as the Value field doesn't show up in the UI Builder Inspector for both Slider types. This might be another bug
Prioritise and Follow this issue
Have a workaround or additional info about this issue?