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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.