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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Performing Undo Redo for Convert to Property action creates a ghost Node
- Crash on GameObject::IsActiveIgnoreImplicitPrefab when opening a specific project
- Default Input Action Asset creates unsaved changes when clicking on Button actions
- Crash on CleanupAfterLoad() when exiting Play Mode during Async Scene load/unload Events
- Can't set Visual Element height in UI Builder
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a4