Search Issue Tracker
Duplicate
Votes
0
Found in
2021.3
2022.1.0a9
2022.2
2022.2.0a9
Issue ID
1424215
Regression
Yes
Fields are misaligned in the Inspector when they are using attributes
Reproduction steps:
1. Open the attached project "Case_1424215.zip" and load Scene "SampleScene"
2. Select the "Character" GameObject in the Hierarchy
3. Compare the fields of "Id" and "Health" under the Character Component in the Inspector
Expected result: The fields look identical
Actual result: The fields are misaligned
Reproducible with: 2021.3.3f1, 2022.1.0a9, 2022.1.2f1, 2022.2.0a15
Not reproducible with: 2022.1.0a8
Could not test with: 2019.4.39f1, 2020.3.35f1 (InspectorElement.FillDefaultInspector() not available)
Notes:
- In 2022.2.0a8 and below the issue only affected custom Editors using "InspectorElement.FillDefaultInspector()". As of 2022.2.0a9, it affects the default Editor as well
- Affects attributes such as [Min()] and [Range()]
- Example with no custom Editor can be seen in the "test" Component of the Character GameObject
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment