Animation Player Preview crashes Editor

4.4

TL;DR: Previewing animation in the editor causes Godot to freeze.

So I can use the Animation Player to edit animations just fine. When I run my game, everything works flawlessly. But trying to preview the animation in the editor crashes Godot without fail every time.

It’s not just with this one scene, or even this one project. I can even open previously completed projects where this issue never occurred, and it happens there too.

I was previously using 4.3, and I thought I might’ve just encountered a weird bug. I decided to take a break and wait for 4.4’s release to see if that helped. And it seemed like it was fine for like an hour and then it started happening again.

I find it strange that I’ve seen no evidence that anyone else has encountered this issue. I’ve considered that it’s my hardware, but I’ve got a pretty decent MSI Katana which runs software like Zbrush and Maya no problem. How could these little sprites possibly be too much for my system to handle?

I’ve recorded myself replicating my issue in this gif.
godotfreezing

As you can see in the recording, running the animation directly in the SpriteFrames panel works ok. It’s just the AnimationPlayer. (Previewing in the AnimationTree’s state machine panel also causes the crash.)

And here is my console log

It definitely looks like something weird is going on. But like I said, this happens to my previous projects as well, and those errors aren’t present in those projects.

I’ve tried using the animation player with AnimatedSprite2D, Sprite2D, with and without reset tracks, with or without an associated AnimationTree.

This is a pretty frustrating problem. Any help or pointers are greatly appreciated.

Thanks.

Try running the editor with --verbose enabled Command line tutorial — Godot Engine (stable) documentation in English It may give more information.

also, confirm that the issue also happens in a newly created project.

I can confirm that the issue occurs with a new project.

I tried running with --verbose enabled, but unfortunately I didn’t see anything pertinent in the log. Nothing unexpected seemed to happen.

Thank you for the advice though. I didn’t know about using command line before, it was interesting to learn about it.

Well, for posterity’s sake, I’ll say that the problem seems to have disappeared as mysteriously as it popped up. I’m not at all sure what happened or why. If anyone else encounters this in the future, maybe just use it as an excuse to rest your carpal tunnels for a week and see what happens?

I’m getting the same crash. What did you do to fix it?

Honestly I don’t know what happened. I wish I could tell you. : (

Maybe the two of you had some plugin in common? What plugins are/were you using?

Hello! I also am encountering this bug. I have no plug ins installed and this is on a fresh project that I made today. In editor the bug happens very consistently whenever the animation plays long enough in editor, and I can’t seem to figure a consistent method to get this to happen, although it tends to within 10 seconds of an animation being played. Will test in a blank new project shortly to verify the issue is in multiple projects.

I got the same crash. One friend of mine told me to delete temp files and clear caché. That worked!
I hope that work for all of you!