I’m using a flashlight mechanic in my game, and for some reason, when I start the game there is an invisible spotlight and I can not select it in the editor. Video of the problem: [Video][1]
[1]:
I’m using a flashlight mechanic in my game, and for some reason, when I start the game there is an invisible spotlight and I can not select it in the editor. Video of the problem: [Video][1]
[1]:
I would check that you set your light component to movable, then rebuild the lighting.
The “Fake” light is still there for some reason. Should I try porting everything from this level into a new level?
Okay, I just found something out. The light is a component of my character controller, and I can actually move it in the editor, but when I start the game, it creates two lights, one that doesn’t move at all and the other follows my character. So, how would I delete the non moving one?
this is a bit hacky, but since i’m not sure what’s the cause…
what if you set your light component’s intensity to 0 as it’s default, then on the begin play set the intensity back up.
are you doing stuff with your light in the construction script by any chance?
it kinda sounds like you didn’t build the level yourself, so that opens the door to a few other possible causes. there could be some random point light that is at your player start. or some blueprint is spawning at the player start. try deleting or at least (tick hidden in game) the light component in the player bp and see if that was the only light we’re dealing with. (rebuild lighting again too)
okay, ticking hidden in-game fixed it somehow. Thanks for the help!