You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While in-editor seeking of AnimationPlaybackTracks now works as it should, actually playing the animation that uses an AnimationPlaybackTrack no longer plays the referenced animation properly. It also does not seem to work when running the project with this animation setup.
Godot_v4.2.2-stable_win64_TVTZClfiVa.mp4
Steps to reproduce
Create an AnimationPlayer
Create any animation
Create another AnimationPlayer
Insert AnimationPlaybackTrack and reference the animation in step 2
Minimal reproduction project (MRP)
This is project in the video, it has the steps above already done.
The problem seems to be in scene/animation/animation_mixer.cpp at line 1611
a->track_get_key_indices_in_range(i, time, delta, &to_play, looped_flag)
doesn't seem to return anything if the clip lands at 0 seconds on the timeline. I don't really have time to dig any deeper, but hopefully that give someone a starting point
The problem seems to be in scene/animation/animation_mixer.cpp at line 1611
It is not related since immediately after playback it never goes through line 1661.
This is actually due to some missing processing that should be taken into account for the internal seek (meaning immediately after playback). I have sent #90960 to fix that, so please check it if possible.
Tested versions
System information
Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 31.0.15.5186) - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)
Issue description
While in-editor seeking of AnimationPlaybackTracks now works as it should, actually playing the animation that uses an AnimationPlaybackTrack no longer plays the referenced animation properly. It also does not seem to work when running the project with this animation setup.
Godot_v4.2.2-stable_win64_TVTZClfiVa.mp4
Steps to reproduce
Minimal reproduction project (MRP)
This is project in the video, it has the steps above already done.
AnimPlaybackTrackBug.zip
The text was updated successfully, but these errors were encountered: