Animation name technically doesn't change, even though it has been changed through the editor

Godot Version

v4.6

Explanation

In spriteframes, for an AnimatedSprite2D I added a new animation and changed its name. However when I played that animation it gave me an error saying it doesn’t exist. I checked by printing all animation names and I saw that the animation still had the name “new_animation”. I tried restarting godot but still the same thing. I tried deleting it and adding it again, same thing. For me it’s not a big problem but I wanna know if I am doing something wrong or if it’s a bug.

Did you save the new animation name?

Yes, the name doesn’t change after saving and even after relaunching the engine.