How do I setup a custom character/model for UE5 and have root motion working properly?

I downloaded this model from DeviantArt and recreated the armature from scratch. How would I go about making it so that when I import it into UE5 (5.0) and import animations from Mixamo that I can have root motion.

I’ve tried multiple ways to get root motion working on animations for this model but nothing is working. Either there is no root motion at all or if there is it breaks everything > when looped it doesn’t follow the path it should be (goes everywhere as an example). I am using the IKRig & IkRetargeter for this so I use the YBot model from Mixamo as my point of reference. Even then, the root motion for YBot breaks.

If anyone has any suggestions or tips on how I can fix this that would be so amazing! I really need this sorted to continue on with my project since root motion will be a big part of it. Also I’m fairly new when it comes to Blender, Rigging and Unreal Engine so there may some stuff I don’t understand or have missed/messedup, apologises about that!

If it helps here is the DL link for the model itself.

I am more than happy to provide the project files if anyone is willing to help me with this!