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
7000.0.0a1
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment