Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Set Actor Hidden In Game does not hide light componentes.

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.

Product Version: UE 4.14
more ▼

asked Feb 04 '17 at 11:05 PM in Bug Reports

avatar image

46 2 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hello Arnleif,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here 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!

more ▼

answered Feb 06 '17 at 06:50 PM

avatar image

Thomas G ♦♦ STAFF
7k 64 4 54

avatar image Arnleif Mar 06 '17 at 12:07 PM

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

avatar image Thomas G ♦♦ STAFF Mar 06 '17 at 04:46 PM

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


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Did you try using Set Visibility on the Light Component?

more ▼

answered Feb 05 '17 at 05:09 AM

avatar image

1k 37 12 38

avatar image Arnleif Feb 05 '17 at 10:30 AM

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

avatar image MonsOlympus Feb 06 '17 at 02:14 PM

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.

avatar image olim_simon Jan 08 '18 at 08:11 AM

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

avatar image scorpiotears May 24 '18 at 02:16 PM

Just try

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

avatar image siditious Jun 03 '18 at 09:15 PM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question