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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment