diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index c04c653819d..eeb2e6aa323 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -837,7 +837,7 @@ void AnimationTreePlayer::_process_animation(float p_delta) { StringName method = a->method_track_get_name(tr.local_track,E->get()); Vector args=a->method_track_get_params(tr.local_track,E->get()); - ERR_CONTINUE(args.size()!=VARIANT_ARG_MAX); + args.resize(VARIANT_ARG_MAX); tr.track->node->call(method,args[0],args[1],args[2],args[3],args[4]); } } break;