Build a procedural Leg IK in Control Rig that places the feet on the real floor, works on any biped, and does not depend on ik_foot bones.
https://dev.epicgames.com/community/learning/tutorials/KJ2BY/how-to-build-a-procedural-leg-ik-in-control-rig-in-unreal-engine-5-6