From 86601900bd93b85f27e22313345eff2e335c3b76 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Mon, 27 Apr 2026 13:54:41 -0300 Subject: [PATCH] Make error about keyless animation tracks a verbose warning instead --- scene/animation/animation_mixer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scene/animation/animation_mixer.cpp b/scene/animation/animation_mixer.cpp index 7737fdee9c..29655d4d9c 100644 --- a/scene/animation/animation_mixer.cpp +++ b/scene/animation/animation_mixer.cpp @@ -732,7 +732,10 @@ bool AnimationMixer::_update_caches() { case Animation::TYPE_VALUE: { // If a value track without a key is cached first, the initial value cannot be determined. // It is a corner case, but which may cause problems with blending. - ERR_CONTINUE_MSG(anim->track_get_key_count(i) == 0, mixer_name + ": '" + String(E) + "', Value Track: '" + String(path) + "' must have at least one key to cache for blending."); + if (anim->track_get_key_count(i) == 0) { + WARN_VERBOSE(mixer_name + ": '" + String(E) + "', Value Track: '" + String(path) + "' must have at least one key to cache for blending."); + continue; + } TrackCacheValue *track_value = memnew(TrackCacheValue);