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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment