Search Issue Tracker
By Design
Votes
0
Found in
2019.1.0a10
2019.1.9f1
2019.2.0a1
2019.3.0a1
Issue ID
1169234
Regression
Yes
Overriding OnInspectorGUI without EditorGUILayout GetControlRect results in EditorGUI PropertyField invisible/clipped/collapsed
How to reproduce:
1. Open attached project "BugReport-EditorGUIInspectorHeight20191.zip"
2. In Project window, select "MyObject" (or create and select a new one "Assets" -> "Create" -> "ScriptableObject" -> "My Object")
3. Observe Inspector window
Expected result: two variables are visible
Actual result: no variables are visible, there are two dots and a single collapsed line/field
Reproducible with: 2019.1.0a10, 2019.1.11f1, 2019.2.0b10, 2019.3.0a9
Not reproducible with: 2017.4.30f1, 2018.4.5f1, 2019.1.0a9
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 LOD Group CrossFade Animate Cross-fading feature does not fade when the GPU Resident Drawer is enabled
- [Android Module] Unity double writes files in the "StreamingAssets" folder when they are deleted using "IPostGenerateGradleAndroidProject" after the Grandle project is generated
- IndexOutOfRangeException and InvalidOperationException when clicking on the HTML log in the Console
- Warnings "Attempting to draw with missing bindings" are logged when opening the HDRP VFX Template Sample Scene
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
Resolution Note (2019.3.X):
This is expected behavior. We do need to add GetControlRect to get the desired inspector behavior. The behavior in 2019.1.0a9 was a bug where the text/field were drawn on the wrong space.