Animation Retargeting - Reference Transform and Transform


I am trying to retarget an animation to a rig I created in Blender. I’ve successfully retargeted the animation but there is something wrong with the transforms/rotations on the model. I’m not sure what is causing it so I hope someone can help.

As you can see in the images, the bones are somehow offset in transform and rotation after I retarget the animation. When I look at the skeleton, the offset transform and rotation match the actual transform and rotation. However, in the animation, they are not the same values, this causes (I think) the mesh and the bones to mismatch. Any ideas what could be causing this?

did you ever figure this out ?