Hello!
I’ve been trying to debug a consistent and fatal crash that occurs on one of my ragdoll-ed characters that happens as soon as I hit play, or a few seconds afterward (it varies). I’m a bit at a loss as to the cause of the crash, and don’t have a ton of leads/details I can give, but will provide as much detail as I can.
First off, I’m working in Maya 2022.5, in Python 2, tho I have also tried playing the scene in 2023 Python 3 and experienced the same crash. I’m using Ragdoll version 2023.11.20, and have an Unlimited license.
Maya’s crash log .dmp says the crash is due to an unhandled error, error “0xc0000005 EXCEPTION ACCESS VIOLATION”. Upon research, this appears to have something to do with corrupted system files, but after following Autodesk’s fix, the crash continues to happen. I also tried deleting the ragdoll from the rig and playing, to see if the crash continued (I expect it would, if it was a corrupted file?) but the raw rig didn’t crash. So I believe this narrows it down to a ragdoll issue. Curiously tho, other ragdoll-ed characters didn’t crash on me either when I tested them.
Some info on the anim scene: it is an empty scene, with only the ragdoll-ed character referenced in. The animation is only five keys on the root control; nothing else. It crashes either immediately after I hit play, or a few seconds afterward.
Some info on the rig and my debugging process: it’s a full body ragdoll, with several groups and a few markers with custom limits and overlap numbers. There are several markers almost totally overlapping (think drawer inside of a filing cabinet kind of overlapping). I lowered the density of the head markers to .01, to make it easier for them to sit on a tiny neck without drooping. The arm markers are shared between the IK and FK controls via the append targeting function. All the markers are custom meshes, some with a few islands for detail. Essentially, this is how I usually build ragdoll onto rigs.
For debugging, I deleted the entire ragdoll and started from scratch; I would add markers, check it for crashes, replace mesh, check it for crashes, etc etc until I finally got it to crash again: it crashed after I appended the IK controls onto the FK control markers. So I checked it with markers only targeted to the FK controls - no crash. Only targeted to the IK controls- crash. Okay, so I’m thinking it’s gotta be something with the IK controls, right? Today I checked it again, only targeted to the FK controls and . . . it crashed. Threw me for a loop. So I deleted all the right arm markers to check, and it crashed! I am at a complete loss. Note that I am checking for crashes on the same animation file, just updating the reference.
Any help in debugging this would be spectacular, because at the moment this rig is unusable with ragdoll. I’ve gotten reports of crashes on other ragdoll-ed rigs from my animators, but none as consistently as this one (and I’m hoping answering why this one crashes will help me debug the others as well). I’m sorry I don’t have better leads and can’t share my files; hopefully these details will be enough