Search Issue Tracker

By Design

Votes

0

Found in

2021.3.43f1

2022.3.44f1

6000.0.17f1

Issue ID

UUM-78789

Regression

No

Numeric fields that are not available in the "Normal" Inspector mode can be set to negative values in the "Debug" mode

--

-

How to reproduce:
1. Create a new Unity project and a new scene in it
2. In the Hierarchy, select the "Main Camera" GameObject
3. Switch the Inspector mode to "Debug"
4. Navigate to the "Target Display" field
5. Try setting it to the negative number

Expected results: "Target Display" can't be set to a negative number
Actual results: "Target Display" can be set to a negative number

Reproducible with: 2021.3.43f1, 2022.3.44f1, 6000.0.17f1

Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested

Note: Tested on the various Components, seems to be reproduced when the same field is not presented in the "Normal" mode or presented in a different way (e.g. Dropdown)

  1. Resolution Note:

    When the inspector is in debug mode, we are not running any validation on any the fields. This mode acts as a complete pass-through as one of its purposes would be to be able to debug faulty editor code and validation.

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.