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

Scripting

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.