Search Issue Tracker
By Design
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
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
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.