Search Issue Tracker

Active

Votes

0

Found in

6000.0.30f1

6000.1.0a6

7000.0.0a10

Issue ID

UUM-90139

Regression

No

Slider rounding does not allow setting certain valid numbers as Values when Low and High Values not set to default

--

-

*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

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.