Search Issue Tracker
Fixed in 6000.1.0b10
Fixed in 6000.1.X, 6000.2.X, 6000.2.0a6
Votes
0
Found in
6000.0.38f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-97496
Regression
No
[Documentation] The enabling checkbox is displayed when there are no specified functions in the Script
Note: The behaviour is as designed but the documentation linked in comments is wrong. We simply need to update the documentation.
How to reproduce:
1. Create and open a new project
2. Create a Script and open it
3. Delete the default “Start” and “Update” methods
4. Save the changes
5. Create any GameObject in the Hierarchy and attach the created Script to it
6. Select the GameObject and observe the Inspector
Expected result: The checkbox to the left of the Script’s name is not displayed
Actual result: The checkbox to the left of the Script’s name is displayed
Reproducible in: 2023.1.0a6, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Not reproducible in: 2022.3.58f1, 2023.1.0a5
Reproduced on: Windows 11 Pro (23H2), macOS 15.3 (M2)
Not reproduced on: No other environment tested
Notes:
– Documentation notes that the enabling checkbox should not be visible if there are none of the following functions present in the Script:
- Start()
- Update()
- FixedUpdate()
- LateUpdate()
- OnGUI()
- OnDisable()
- OnEnable()
-- There must be no errors in the Console before observing the Inspector (otherwise, the checkbox will be displayed, but it will not be interactable)
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 (fix version 6000.2):
https://github.cds.internal.unity3d.com/unity/unity/pull/62090
Resolution Note (fix version 6000.1):
https://github.cds.internal.unity3d.com/unity/unity/pull/62518