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
- Additional empty space becomes visible under "Scripts" in the "Add Component" window
- Longer component titles overlap navigation arrow in the "Add Component" window
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a4