Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0f2
Issue ID
1047096
Regression
No
HideFlags does not work on instantiated prefabs when using a custom class
To reproduce:
1. Open the QA's attached project
2. Open the scene "SampleScene" and play it
3. Go over all selections in the custom "Tools" menu
4. Notice that the 2nd selection "CustomClassNotWorking" does not hide the prefab in the Hierarchy
Expected result: The instantiated prefab is hidden when using the custom class
Actual result: The instantiated prefab is visible in the hierarchy
Reproduced with: 2017.2.3f1, 2017.4.5f1, 2018.1.5f1, 2018.2.0b9, 2018.3.0a1
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
- 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
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (2018.3.X):
Setting hideflags on a component does not propagate to the GameObject and other components, this give you fine grained control over the hideflags on each component. The exception is the Transform component which will recursive through the children.