Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.69f1

6000.3.11f1

6000.4.0b9

6000.5.0a8

6000.6.0a1

Issue ID

UUM-140347

Regression

No

Inspector window does not correctly update the shown ushort variable's value when it is set to a negative one

Serialization

-

How to reproduce:
1. Open the attached “IN-139522_ushort” project
2. Open the “SampleScene” Scene
3. Enter Play mode
4. In the Hierarchy window, select the “Test” GameObject
5. In the Inspector window, set the “u_int” variable's value to a negative one (i.e., -1, -12)
6. Notice how the value changes back to 0
7. In the Inspector window, set the “u_short” variable's value to a negative one (i.e., -1, -12)
8. Observe the Inspector window

Actual result: The “u_short” is shown as the inputted negative one
Expected result: The “u_short” shown value changes to 0 just like it does with the “u_int” value

Reproducible with: 2023.1.0a1, 6000.0.72f1, 6000.3.13f1, 6000.4.2f1, 6000.5.0b3, 6000.6.0a2

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Reloading the Inspector window either via Domain Reload or hiding it by clicking onto another window, etc., sets the shown “u_short” value to 0
- In Unity Editor version 2023.1.0a1, both the “u_short” and “u_int” stay showing the negative value until the Inspector window is reloaded

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.