Search Issue Tracker
Fixed in 2021.2.X
Votes
2
Found in
2018.4
2019.4
2019.4.15f1
2020.1
2020.2
2021.1
Issue ID
1297283
Regression
No
EditorGUI.RectIntField fields have different Width and Height compared to other fields
Reproduction steps:
1. Download and open the attached project "RectIntTest.zip"
2. Open scene 'SampleScene'
3. Select GameObject 'TestObject' in Hierarchy
4. Observe the Inspector
Expected result: EditorGUI.RectIntField fields created by script 'TestRectInt.cs' have the same Width and Height as fields in the Transform section
Actual result: EditorGUI.RectIntField fields created by script 'TestRectInt.cs' have different Width and Height compared to fields in the Transform section
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a9
Notes: In 2018.4.30f1 Width of fields are the same compared to others (Transform, etc.), but there is no gap between fields (Height issue)
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
- 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
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a4