Identical animations play completely differently depending on import method

Background

Hello; for the past few years, my team has been experiencing a strange quirk with animations that has seemed to randomly occur and then not occur. This has caused the animations our developers produce and those that appear in-game to be entirely different, seemingly with no reason. But after some testing, I believe to have found a means of reproducing this bug, thus the impetus to make this thread.

Below you can see two of the same rig playing the same animation, along with a reproduction file. The only difference between the two is that:

a) The rig on the left is playing a broken KeyframeSequence that was generated with the LoadAsset() function of InsertService. (The same broken animation plays if using :LoadAnimation().)

b) The rig on the right is playing a KeyframeSequence without the broken behavior. This KeyframeSequence was generated with the ‘Import from Roblox’ tool in the built-in animation editor.


rigs_and_animations.rbxm (44.9 KB)

In addition to the possibility of a fix, I would greatly appreciate any suggestions for work-arounds. This is the largest bug facing my team right now, and we & our players would be glad to have any advice :slight_smile:

Details
  • Original AnimationId: rbxasset://109542056943202
  • System Information: i9-12900K, 32GB, RTX 2070 SUPER
  • Beta Features: Dragger QoL Improvements, Scripts Are Non-Strict By Default, Updated Roblox Controls, Video Uploads
4 Likes

Thanks for the report, let me take a look and get back to you.

Just out of curiosity, does the behavior change at all if you disable retargeting on your workspace?

Hi!
I think the issue might be with how this character is rigged. I noticed the visible blue parts are welded to an invisible blocky rig which doesn’t quite match the size, scale and pose (see pic). So the shoulders can get rotated in weird ways if retargeting is enabled. It’s possible all the duplicate instance names (LeftUpperArm, LeftLowerArm, etc…) are messing something up as well.

I’d say give the rigging another pass to be more like the standard R15 and see if that fixes the issues.

Cheers!

I see; I’ll do some testing with these things in mind and see what I can come up with :slight_smile:
Thank you for the quick response!

1 Like