Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
Votes
0
Found in
2021.3.44f1
2022.3.48f1
6000.0.22f1
6000.1.0a7
7000.0.0a3
Issue ID
UUM-83530
Regression
No
Modifying ints with short ranges via property name in Inspector leads to skipping values
*Steps to reproduce:*
# Open a Unity project
# Add a new GameObject to the scene (GameObject > Create Empty)
# Add the attached IntInspectorTest.cs script to the project. This script has a serialized Int value with a very short range (0 - 4)
# Drag the IntInspectorTest.cs script onto your new GameObject
# Select the GameObject
# In the Inspector, modify the 'Test Int' value by dragging on the Property Name (not the slider)
*Actual results:* It is very difficult to set the value to specific values in the range. Even if you only move the mouse slightly, the value will often skip numbers and sometimes even go straight from 0 to 4 and vice versa
*Expected results:* It is possible to set the value of the int to specific values in the range, without it snapping past values.
*Reproducible with versions:* 6000.0.22f1, 2022.3.48f1, 2021.3.44f1, 7000.0.0a3
*Not reproducible with versions:* -
*Can’t test with versions:* -
*Tested on (OS):* Windows 10/11
*Notes:*
* This issue occurs with small ranges (in the IntInspectorTest script, the range of the int is 4).
* Using the slider (instead of the property name) to change the value works as expected.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
- Weird behaviour in TextMeshPro Link Example sample when hovering over single letters after hovering over a word
- RegisterValueChangedCallback is triggered when the Label of a TextField is changed
- Changing the Visual Element size moves it when two visual elements are close to each other
Add comment