Search Issue Tracker
By Design
By Design in 2022.3.X
Votes
0
Found in
2021.3.29f1
2022.3.8f1
Issue ID
UUM-46570
Regression
No
MonoBehaviour script component is missing the enable/disable toggle in Inspector when the script does not contain certain methods like Start
Reproduction steps:
1. Open the “ScriptToggleStripped“ project
2. Open the “Sample” scene
3. Select the “Test” GameObject
4. Observe the “Empty Script” and “Awake Script” components
Expected result: The components can be enabled/disabled
Actual result: The components are missing the enable/disable toggle
Reproduced in: 2021.3.29f1, 2022.3.8f1, 2023.1.0a5
Not reproduced in: 2023.1.0a6, 2023.1.9f1, 2023.2.0b6, 2023.3.0a2
Reproduced on: macOS 13.4.1 (Intel/M1)
Not reproduced on: No other environment tested
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
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
Resolution Note:
If a MonoBehaviour has no code that runs automatically (Awake, Start, Update, etc.), it makes no sense to disable it so we're not showing the checkbox. It wouldn't do anything.
Resolution Note (2022.3.X):
If a MonoBehaviour has no code that runs automatically (Awake, Start, Update, etc.), it makes no sense to disable it so we're not showing the checkbox. It wouldn't do anything.