# Child Actor Component Visibility Bug

**URL:** <https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660>\
**Category:** Rendering\
**Tags:** visibility, unreal-engine, question\
**Created:** [February 21, 2017, 12:29pm UTC](https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660 "2017-02-21T12:29:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DjSt3rios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DjSt3rios](https://forums.unrealengine.com/u/DjSt3rios)\
**Post date:** [February 21, 2017, 12:29pm UTC](https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660/1 "2017-02-21T12:29:31Z")

</div>

**Build Type:** Source

**Build version:** 4.15.0-0+++UE4+Release-4.15

**Detailed description of the issue:** The child actor visibility is buggy. I added a child actor and made it hidden(Visible and Hidden in game were unchecked). Then with a push of a button I tried to make visible using “Set Visibility” and it didn’t work at all. Toggle visibility works, but I need to toggle it on, then off and on again before it works. I tried it in an empty project and it happened again. Check the video below for a better view of the problem.

**Screenshots/Link to video:** [Video](https://youtu.be/3zhUHJDTl_I)

**Repro Steps**

```
Action 1: Create blueprint blank project

Action 2: Create an actor with just a cube.

Action 3: Create an actor with a sphere. Add a child actor component and select the actor with the cube(from Action 2). Move it a little bit so they dont overlap, and make it invisible, by unchecking "Visible" in Rendering settings.

Action 4: Make a simple world and some lighting and drag the 2nd actor (Action 3) in the world.

Action 5: In the world settings, with a push of a button, use "get all actors of class", and select the actor you placed in the world. Get the first entry from the array, get a reference to the child actor component, and use "Toggle Visibility" (or "set visibility"), and check "Propagate to children".

Action 6: Test it!

```

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [February 21, 2017, 10:18pm UTC](https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660/2 "2017-02-21T22:18:05Z")

</div>

Hi DjSt3rios,

Thank you for the report. I was able to reproduce the issue, so I have logged it as [JIRA UE-42240](https://issues.unrealengine.com/issue/UE-42240). Our developers will be investigating further. Follow that link to monitor the status of the bug report.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![Michela.Ledwidge](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michela.ledwidge/32/738192_2.png) [@Michela.Ledwidge](https://forums.unrealengine.com/u/Michela.Ledwidge)\
**Post date:** [July 10, 2019, 12:40pm UTC](https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660/3 "2019-07-10T12:40:14Z")

</div>

Hit something very similar to this in 4.22.3 on iOS

On Windows, child actor hidden in game respected but not on iOS.

Workaround - reset child actor class until needed

---

<div class="post-metadata">

**Author:** ![Raxiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raxiro](https://forums.unrealengine.com/u/Raxiro)\
**Post date:** [September 27, 2019, 3:32am UTC](https://forums.unrealengine.com/t/child-actor-component-visibility-bug/385660/4 "2019-09-27T03:32:53Z")

</div>

Hi Michela, do you mind describing the workaround better? I am not sure how to reset the child actor class.
