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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.