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
- The sidebar reopens when Unity Hub is started when Unity Hub was closed with the sidebar closed
- Characters are invisible in the TextField when certain Japanese characters are used
- "InvalidOperationException" is thrown when using Prefab > Replace to replace a Canvas GameObject with a Prefab that has an incompatible root Transform type
- Looping AudioSource resumes from the wrong playback position when the app is backgrounded and resumed on iOS Safari
- "AnyState Transition Created" action can be undone when pressing "Auto Generate Animation" on the uGUI GameObjects
Add comment