When I try to retarget animation from GAS, the root motion does not work on the UE5 skeletal mesh?

When I try to retarget animation from GAS, root motion does not work on the UE5 skeletal mesh. It works fine with the GAS skeletal mesh, but when I use a different skeletal mesh, the retargeted animation’s root motion does not work. Any ideas? Thanks!