Setting Visibility Of Root On 'Components' View Doesn't Affect Children

If you set the visibility to disabled in the ‘Components’ view of a Blueprint for a root item like a SceneComponent, it doesn’t set the children of that root to the same visibility. But during the game, it does work. Thanks.

Hi McStryker,

I am testing this in 4.4, but I was not able to reproduce the issue. How have you set the visibility of the components? I am using this set up in my construction script for testing:

13064-invisibleconstruct.jpg

Sphere1 is the Root. The SkeletalMesh component is a simple character mesh that has a StaticMesh hat parented under it. This is the result I get:

The Character and Hat are both invisible. Does this work for you or am I doing something differently? Any additional information may help.

Hey ! Actually it’s not in the Event Graph but if you click in the Components list up on the left. Start fresh with a SceneComponent as the root (this is what I see it with so it may be specific to that). Then add two StaticMeshComponents to that SceneDefaultRoot. Then click the root SceneComponent and scroll down in the details panel right below it to the Rendering Tab and uncheck Visibility there. Let me know if that did the trick.

That specific visibility setting does not propagate to components parented under it. It is expected behavior from that particular checkbox. The same is true for the “Hidden in Game” setting. The “propagate to children” bool is exclusive to the Set Visibility/Hidden in Game nodes.

Gotcha, wasn’t sure if that was by design. Thanks!