Custom animations on custom avatar incorrectly rotating joins when HRD is used

We have a custom player avatar model with its own bone structure. We have added a HRD so that we can use roblox animations by default but also replace them for custom animations where necessary.
This has all worked fine until recently when one of the characters has their arms rotated when playing one of the custom animations within the engine (note that playing this inside of the Clip Editor looks fine).
If we remove the HRD, the default Roblox animations no longer work but the custom animations look fine.
This appears to be specific to a few animations (imported from Blender) but we cannot narrow down the cause and whether it’s something we’re doing or a bug within the HRD.

Working in clip editor:

Broken in game:

Hello! I hope you’re doing well.
Thank you for taking the time to submit this issue and for reading our message.

  • Could you please send us a repro file?

Thank you again for your cooperation!

Here is a test case that includes the base model and a script that simply plays the animation. I’ve got a clone of the model which is exactly the same but without the HRD. Also, if you go into the clip editor there is the animation saved that - when played even on the model with the HRD - works fine. I assume that’s because the HRD is not used when animations are played via the clip editor but mentioned it anyway.

BrokenAnimation.rbxl (143.5 KB)

Hi, thanks for your report. Have you correctly setup the T-Pose information in the HRD editor?