Hello! I ran into this failed check !PelvisTransformCS.ContainsNaN() inside FAnimNode_FootPlacement::EvaluateSkeletalControl_AnyThread. Is there any safe way to prevent this from happening in the future? I haven’t been able to reproduce it but I’m afraid of it happening again. Any insight in general on what might cause this issue would be appreciated! Thank you!
Hi, it’s hard to say for sure what could be causing this. It could be a result of the solve, but it could also just be that the transforms being passed into the node are already malformed. The best thing to do would likely be to add more checks to make sure the transforms are valid.
You could do that on the transforms that are passed into FAnimNode_FootPlacement::EvaluateSkeletalControl_AnyThread. And also check in FAnimNode_FootPlacement::SolvePelvis that the foot effector positions are sensible - for instance, if they are collocated with the pelvis, you could end up with a NAN.