Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The animation_mixer gives a false warning about the value track type #83545

Closed
xchrix opened this issue Oct 18, 2023 · 0 comments · Fixed by #86629
Closed

The animation_mixer gives a false warning about the value track type #83545

xchrix opened this issue Oct 18, 2023 · 0 comments · Fixed by #86629

Comments

@xchrix
Copy link

xchrix commented Oct 18, 2023

Godot version

v4.2.beta1.official [b137180], v4.2.dev6.official [57a6813]

System information

Godot v4.2.beta1 - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2060 (NVIDIA; 31.0.15.3667) - Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (16 Threads)

Issue description

When I open a scene with an animation_player and click the AnimationPlayer node, Godot gives me a warning about the type of track value:

scene/animation/animation_mixer.cpp:884 - AnimationMixer: 'IdleLeft', Value Track: 'Sprite2D:texture' uses a non-numeric type as key value with UpdateMode.UPDATE_CONTINUOUS. This will not be blended correctly, so it is forced to UpdateMode.UPDATE_DISCRETE. (User)

Actually, all texture track use Discrete update mode and Nearest interpolation mode.

The warning message:

图片

The animation track mentioned in the warning message:

图片

Only 4.2beta1 and 4.2dev6 was affected with this issue, versions before 4.2dev5 cannot reproduction this issue.

Steps to reproduce

  • Open the reproduction project
  • Open the player/player_noanimtree.tscn.
  • Click the AnimationPlayer node.
  • You can see the warning message as above in the Output panel.

Minimal reproduction project

min_reproduction.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment