Search Issue Tracker
Fixed
Fixed in 6000.0.50f1, 6000.1.5f1, 6000.2.0b1, 7000.0.0a27
Votes
0
Found in
2022.3.57f1
6000.0.37f1
6000.1.0b5
6000.2.0a2
Issue ID
UUM-96314
Regression
No
"HideFlags.HideAndDontSave" flag does not work when the Components are added in OnEnable and Awake methods
How to reproduce:
1. Open the “HDF.zip“ project
2. Open the “SampleScene“
3. Select the “Add MyScript Here“ GameObject in the Hierarchy
4. Drag and add the “MyScript“ Script from the Project tab to the “Add MyScript Here“ GameObject in the Hierarchy
5. Observe the Inspector
Expected result: All 3 automatically added Scripts are grayed out and un-interactable
Actual result: Only the “Added In On Update“ Script is grayed out and un-interactable
Reproducible in: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- After reloading either all or only one other Script will be grayed out
- Sometimes when the Scene is reloaded “InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)” errors are thrown in the Console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GitHub and GitLab "Personal Access Token" is periodically cleared while Unity Hub is running on Linux
- Attribute on Toolbar Overlay does not resolve when importing .unitypackage
- Remote repository size is not shown for GitHub repositories when expanding project details
- "Repository name" field and "slug preview" don't have correct validation and become inconsistent when unsupported characters are entered
- Package Manager throws ScriptableSingleton related errors after a package was installed while there were pending package manifest changes
Add comment