Light component visible when it shouldn't be, only in packaged game (works properly in editor)

Are you using the Set Visibility on the character at any point? Make sure that if you do, you are not affecting the light component by setting the Propagate To Children property to false

342952-light.png

As a workaround, you can force it to hidden after the game starts, or instead set the LightIntensity value to 0 or its regular value as a means to toggle it on or off.

Anyways, could you share your character Components window?

Cheers,
David

I have a character that has a Point Light component that should only be visible at specific times.
The point light component is set to not visible (under render) by default, and in the blueprint I turn it on or off at specific events.
It works as it should in the editor, but in the packaged game the light starts visible from the start, but it should be invisible. After there is an event that turns it on and then turns it off, it works properly from then on, but at the start it seems to ignore the default setting of not visible.
I even added a node at begin play to set the light not visible, but even that wasn’t enough, so I added a half second delay, and even that didn’t work and the light always starts on and it should start off.
I don’t know if it’s a bug or something I’m doing wrong, but either way I would appreciate a solution or workaround suggestion.