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
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a4