-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Bevy version
Bevy v0.12.0
What you did
The problem happens when I start a non-repeating animation with the AnimationPlayer
. I've created a repository that demonstrates the problem: https://github.com/idanarye/demonstrate-bevy-0.12-animation-bug
In the demos, hit the Spacebar to start the animation. If you run them in WASM you'll probably need to click on the canvas first before it starts accepting keyboard input.
What went wrong
- what were you expecting? The behavior I get in Bevy v0.11: at the end of the animation, the model should be the last frame.
- what actually happened? The behavior I get in Bevy v0.12: at the end of the animation, the model jumps back to the first frame.
Additional information
Note that I'm using the same glb file I used when I found the problem. I've tried to replicate it with a simpler glb file, but with no success. So it is possible that something is wrong with my glb file (which is very likely - I had to import some lost animation from an old export to the blender file, which could have messed things up), but since it works just fine in Bevy v0.11 there may be an actual regression in Bevy v0.12.