Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.2, 2019.3

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))]

IMGUI

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.