Mesh changes size when animation is applied

I finally managed to import animations for a mesh nad I’ve hit another roadblock: my mesh becomes about 5x smaller when any animation is applied (see below). I’ve seen some people suggest changing scale in blender, but the animated model is still shrunk. Changing unit scale creates a problem of the model being unbearably huge instead.
Is there a way to preserve model scale when exporting the animation?