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
- "View Diff" button not functional in Package Manager > 'My Assets'"
- “Validate” button is misaligned in the PM window > “My Assets”
- The "Add selector..." option is missing from the UI Builders Hierarchy and Viewport options modal when options are not targeting an element
- Animation Curve edits cannot be undone when editing in a Prefab
- Clearable "NullReferenceException" error thrown after pressing "Validate" button below an Asset in PM > 'My Assets'"
Add comment