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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a4