Godot 4 Multiplayer: Make Your Own Online Game


I am getting an error. There is no animation with name Idle.

E 0:00:01:0598 player.gd:65 @ _physics_process(): There is no animation with name ‘idle’.
<C++ Error> Condition “!frames->get_animation_names().has(name)” is true.
<C++ Source> scene/2d/animated_sprite_2d.cpp:451 @ play()
player.gd:65 @ _physics_process()

This is most likely a spelling or case-sensitive problem. Double-check your AnimatedSprite2D’s idle animation name.

1 Like

OK, I will give it a try.

Thank you!

1 Like

That was the issue!

I had an uppercase I in the AminatedSprite2D’s idle animation name. Exactly what you said.

Thank you so much!!!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms