Root motion can't work after retargeting the animation in UE5.6

I am using UE5.6.1 and trying to retarget a sword attack animation from UE5 mannequinn to MetaHuman. Whenever I try to retarget animations with root motion, the resulted animation sequence’s root motion just can’t work. Root motion is enabled, animation blueprint is set to allow root motion for everything… but no matter what I do, the root motion just can’t move my character… Does anyone have any suggestion for a solution or have encountered similar issue in the past?

Problem solved. Issue is not in the animation sequence, but in the character blueprint. My character bp has the body component set to drive the animation, not the mesh component. changing the bp to use the mesh component fixed the issue. But this means I also did other additional set up steps to make sure everything can work properly.