Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
15
Found in
2019.2.0a7
2019.2.0f1
2019.3.0a1
Issue ID
1175246
Regression
Yes
Overridden OnInspectorGUI method is not called when using [CustomEditor(typeof(DefaultAsset))]
How to reproduce:
1. Open the attached project ("DefaultAssetTest.zip") using the EnvIronman VM (more information in Edit) (optional)
2. In the Project window select 'thing'
3. Observe the Console window
Expected result: two console messages are printed (OnEnable and OnInspectorGUI methods should be called)
Actual result: only one console message is printed (OnInspectorGUI method is not called)
Reproducible with: 2019.2.0a7, 2019.2.1f1, 2019.3.0a12
Not reproducible with: 2017.4.31f1, 2018.4.6f1, 2019.1.14f1, 2019.2.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment