Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2018.4

2019.4

2019.4.16f1

2020.1

2020.2

2021.1

2021.2

Issue ID

1301335

Regression

No

The 'Enable' checkbox is displayed when using EditorGUILayout.InspectorTitlebar and the ScriptableObject has an OnEnable method

IMGUI

-

How to reproduce:
1. Open the user's attached project
2. In the Project window select 'New Container Asset'
3. Observe the Inspector

Expected result: The 'Sub Asset 2' titlebar does not have the 'Enable' checkbox
Actual result: The 'Sub Asset 2' titlebar has the 'Enable' checkbox

Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.1.17f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1

Notes:
- The OnEnable and OnDisable methods are not called when enabling/disabling the 'Enable' checkbox

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.2.0a4

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.