UE5 ik retargeter not working

so I have a single bone for my weapon to attach to.it has no ik or anything its just a bone floating.when i import my old rig and animations it works fine but when i retarget it. it doesnt work. it rotates as the animation but stays on the floor.