Random 'Found the key outside the animation range' errors causing crashes in exported build

Godot Version

4.4.1.stable

Question

I’m getting random reports of crashes to desktop in the exported build of my game. I can’t reproduce the issue locally, but the logs from affected users consistently include the following:

ERROR: Found the key outside the animation range. Consider using the clean-up option in AnimationTrackEditor to fix it.
at: _find (scene\resources\animation.cpp:2445)

My game isn’t the only one affected — for example, players of Road to Vostok have reported similar crashes. The developer mentioned that they investigated it and suspect it’s a Godot engine bug:
https://steamcommunity.com/app/1963610/discussions/0/4633734719581728460/

I’ve searched through related GitHub issues in the official Godot repo, but many of them seem to get closed without being properly addressed.

Some devs have mentioned fixing it by adjusting the keyframe where they play an audio clip in the affected animation. However, in my case, I’m not even using audio clips in animations, and users still encounter this crash.

Has anyone else run into this issue? Any known solutions?

I doubt the crash is related to that error. The problem the user is facing in the steam post you linked is different and related to Vulkan. Probably a device lost issue (drivers/hardware issue) or out of memory (the user has a 4gb VRAM GPU)