# Set Actor Hidden In Game does not hide light componentes

**URL:** <https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965>\
**Category:** Rendering\
**Tags:** light, bugreport, unreal-engine, question\
**Created:** [February 4, 2017, 11:05pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965 "2017-02-04T23:05:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnleif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arnleif](https://forums.unrealengine.com/u/Arnleif)\
**Post date:** [February 4, 2017, 11:05pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/1 "2017-02-04T23:05:23Z")

</div>

Using version 4.14.3.

If you have an actor with some light component, then set that actor hidden with the “Set Actor Hidden In Game” command, any light components will still be visible.

We are using dynamic lighting.

---

<div class="post-metadata">

**Author:** ![MonsOlympus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monsolympus/32/619062_2.png) [@MonsOlympus](https://forums.unrealengine.com/u/MonsOlympus)\
**Post date:** [February 5, 2017, 5:09am UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/2 "2017-02-05T05:09:10Z")

</div>

Did you try using Set Visibility on the Light Component?

---

<div class="post-metadata">

**Author:** ![Arnleif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arnleif](https://forums.unrealengine.com/u/Arnleif)\
**Post date:** [February 5, 2017, 10:30am UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/3 "2017-02-05T10:30:35Z")

</div>

Thanks for your answer, but I’m not interested in doing custom per class alteration for this. I expect “Set Actor Hidden In Game” to also hide light, without me having to do a bunch of ‘hacks’. (Like maybe that light already had it’s visibility off. And then when I want to show this actor again, I don’t know what state that component was in before I turned it off. And I’d have to store that and it all becomes a mess of imo, uneeded stuff since the actor hidden should have taken care of this ).

---

<div class="post-metadata">

**Author:** ![MonsOlympus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monsolympus/32/619062_2.png) [@MonsOlympus](https://forums.unrealengine.com/u/MonsOlympus)\
**Post date:** [February 6, 2017, 2:14pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/4 "2017-02-06T14:14:30Z")

</div>

I am able to replicate it quite easily, Set Hidden In Game doesnt work on Light Components period whether its through Actor or not!

Using Set Visibility can be propagated to all children but as you say if the light is off when you hide the Actor then it requires you to store a state.

I do recommend being as verbose as possible in reports if you can, that information you provided does show a use case that doesnt seem to be provided for in work arounds and no one was to know that before responding.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [February 6, 2017, 6:50pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/5 "2017-02-06T18:50:47Z")

</div>

Hello ,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-41603)](https://issues.unrealengine.com/issue/UE-41603). You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Thank you!

---

<div class="post-metadata">

**Author:** ![Arnleif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arnleif](https://forums.unrealengine.com/u/Arnleif)\
**Post date:** [March 6, 2017, 12:07pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/6 "2017-03-06T12:07:54Z")

</div>

So what happened to this issue? The link to 41603 says “Unknown Issue”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b909bf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b909bf](https://forums.unrealengine.com/u/anonymous_user_d2b909bf)\
**Post date:** [March 6, 2017, 4:46pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/7 "2017-03-06T16:46:32Z")

</div>

There is a period at the end of the URL by accident the correct URL is here:

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-41603)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![olim\_simon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@olim\_simon](https://forums.unrealengine.com/u/olim_simon)\
**Post date:** [January 8, 2018, 8:11am UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/8 "2018-01-08T08:11:39Z")

</div>

Still the bug has not fixed yet. So I’m using Set Visibility or Toggle Visibility for light components.

---

<div class="post-metadata">

**Author:** ![scorpiotears](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@scorpiotears](https://forums.unrealengine.com/u/scorpiotears)\
**Post date:** [May 24, 2018, 2:16pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/9 "2018-05-24T14:16:28Z")

</div>

Just try

Actor-\>GetRootComponent()-\>SetVisibility(false, true);

---

<div class="post-metadata">

**Author:** ![siditious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siditious](https://forums.unrealengine.com/u/siditious)\
**Post date:** [June 3, 2018, 9:15pm UTC](https://forums.unrealengine.com/t/set-actor-hidden-in-game-does-not-hide-light-componentes/383965/10 "2018-06-03T21:15:48Z")

</div>

I actually hope that this bug is not fixed, this is desired behavior for me. I would like to have light cast from hidden actor.
