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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Add comment