Lights not working in animation player

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By FelipeRattu

I made a light for the logo of the game i’m making, it is supposed to blink it’s intensity, so i made an animation player to make the light energy go up and down.

The problem is that in a test scene it works perfectly but when i put it in the main menu it doesn’t.

Print from the tree:

the light and the animator are both set, i just don’t know why i don’t glow.

:bust_in_silhouette: Reply From: martin.pokorny


I’m having similar problem, Godot 3.2 stable - sometimes the animation triggers the Light2D energy and sets it properly, other times it doesn’t.

One possible workaround for this is to handle the blinking directly from the script of the scene, that seems to work fine for me… but yeah, AnimationPlayer seems to have a bug related to Light Energy setting.