There’s also a solution in that threat with which however you lose the foot IK, meaning the feet will not be perfectly planted on a staircase for example: Retargeted Metahuman Player characters feet stick to/slide on ground
I also found this video tutorial on you tube which seems to solve even that issue:
And also this:
plus:
MetaHuman Foot IK - In UnrealEngine 5 - [OUTDATED] - YouTube (with the Foot IK fix)
Hope this helps