GLTF Model animation position scaled down


I have animations in Blender that, are just consecutive routes of the donut on the conveyor belt (from one station to another). When I run any of the actions in three.js as a first animation, everything works fine, but when I try to play the next animation after the first one, it seems like the whole coordination system of the animation is scaled-down, and the donut position is not updated properly. here is the code for the donut animation handler, and if someone would like to check that, you can play with animations by adding ‘/#debug’ to the route. It’s wip so code is messy and textures are exported with the lowest resolution for faster development.

Found the solution here: Playing an animation changes behaviour of next animation - #6 by Gustavo_Voigt