Ragdoll constraints generate different results for different runs with code

Hello,

I have generated a ragdoll character with code in C++ using UCapsuleComponents and UPhysicsConstraintComponents between them.

When I put in AngularLimits via code into the different constraints, I always get different results everytime I press “Play”. In other words, every run of the game results in a different ragdoll physics result.

What is causing this issue and is there any way to resolve this? It feels like some internal physics state is not being reset. Do I need to call anything in particular to reset the PhysicsConstraint state in UE4 C++?

Any advice/tips on this issue is greatly appreciated.

Thanks!