Animation Graph beta conflicts with R6 ragdoll recovery and causes rig/joint corruption after combat animations

Hi Roblox team,

I found what seems to be a bug or compatibility issue involving the Animation Graph beta and custom R6 ragdoll systems.

I was debugging a problem where my character rig would sometimes come out of ragdoll in a broken or misaligned state after a combat animation played. At first, I thought it was just an issue with my ragdoll code, so I tested several things such as restoring Motor6Ds, resetting RootJoint behavior, stopping animation tracks, and adjusting the timing after recovery.

After a lot of testing, I found that the issue only happens when the Animation Graph beta is enabled in Studio.

When the beta is enabled:

  • the character can recover from ragdoll with twisted or misaligned limbs
  • the torso and arms can look visually broken
  • after using a combat move and ragdolling again, the rig may behave as if the joints were not restored correctly

When I disable the Animation Graph beta, the exact same system works normally again.

Steps to reproduce

  1. Enable Animation Graph beta in Studio
  2. Use an R6 rig
  3. Use a custom ragdoll system that disables and restores joints during ragdoll
  4. Play an animation right after the character exits ragdoll
  5. Observe the rig becoming visually broken or misaligned
  6. Disable the beta and repeat the same steps
  7. Observe that the issue no longer happens

Expected behavior

The character should recover from ragdoll normally and without breaking the rig.

Actual behavior

With Animation Graph beta enabled, the rig can come out of ragdoll in a corrupted or misaligned state.

I’m posting this because it took me a while to figure out that the beta feature was the trigger, and I think other developers working with custom R6 ragdolls could run into the same issue.

I also tried stopping the AnimationTrack while the character was ragdolled, but the issue still happened.

Here are some videos:

Graph ON

Graph OFF

2 Likes

Hi, I encountered a similar bug like this but with adaptive animations.

1 Like