I have a pawn character with two spotlights (dynamic lighting map). This used to work, but for some reason it’s stopped working altogether and I can’t figure out why.
This is the blueprint component view:
(Scene Component)
Spot1 (movable)
Spot2 (movable)
This is the node that I’m using to control the lighting.
Changing the visibility seems to do nothing and the light always stays on.
I can change the intensity via blueprint and that does affect the light, however toggling visibility seem to do nothing.
Alright, so I created an empty actor, stuck a spotlight in it, set the visibility to off (tried it directly on the component, via construction script and event graph)
This hid the light in the editor, but in PIE the light is on.
w.e.i.r.d - any ideas why this might be happening?
@clockworkocean its defiantly triggering - it’s setup exactly as you have. (print string to double check that it’s doing what it’s intended to)
I’ve tested this a bit more, and in an empty level in the same project it works! so it looks like its limited to the game map I am on. I wonder if its some sort of dynamic/static lighting issue.