0 votes


i have a few Sprites animated with AnimationPlayer. Every time i instantiate one of these scenes my debugger complains about "Animation '' doesn't exist". However everything works as intended. I double checked my animations but all of them start at t(0). Maybe you have an idea. Thx!

Godot version 4.0.1
in Engine by (24 points)

1 Answer

0 votes
Best answer

For anyone interested:
It took me some time but now i can tell what happened:

I created an AnimatedSprite2D. It's empty because it's only there to be inherited by other scenes. Before the heridity i once added some Sprite Frames and a default animation. After implementing inherited scenes i deleted the "default" animation at the bottom SpriteFrames tab. But i forgot deleting SpriteFrames at the inspector.

Now after every start it flooded me with the error described above.
After clearing SpriteFrames at the inspector tab it gives me another error:
E 0:00:00:0377 set_animation: There is no animation with name ''.

For some reason he still tries to load some animation...

To resolve this simply once again click on "New Sprite Frames" and clear them again. Now it works.

by (24 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.