Blender to Unreal Anims (Deform skele vs Unreal Skele)

TLDR: Trouble understanding how to get char anim data from Blender → FBX → Unreal (using the UE4 Skele)

I’ve used GameRigTools UE 4 Deform Skele to weight paint a character’s body and gear.

I’ve been able to parent the body and gear to the UE 4 Game Skele (Actual Engine Version, not Deform) and attach it via leader pose comp.

The Workflow is simple:

  • Parent to Deform Skele (gives vertex groups)
  • Pose and Weight Paint (Deform skele easier to pose)
  • Then Parent to UE 4 Game Skele (Empty Groups) before Exporting selected objects (Meshes & Skeleton)
  • Import to Unreal and select the UE 4 Skele as the Skeleton Asset

This all deforms correctly in-engine with anims I’ve downloaded (already FBX)

However, I’m struggling in exporting my own anims from blender into Unreal.

My question is regarding which skeleton to use for the FBX:

Does the Deform Skele to Game Skele Workflow I mentioned prior work on animations as well?

  • I’ve made an animation in Blender using the Deform Skele (for ease of use)
  • But when I parent the objects to the Game Skeleton, they don’t move.
  • So I thought to transfer the anim data from the Deform Skele to the Game Skele
  • Predictably, this caused the game skele to animate completely wrong (likely coord inconsistencies)

What is the correct workflow in getting an animation (using the UE4 Skele) from Blender → FBX → Unreal ? What am I misunderstanding about anim data and skeletons?

Sounds like everything really.

https://mosthostla.com/gamedev/bonebreaker

There’s a couple videos on there illustrating one workflow.
You can do the same with many other add-ons that were released after.

Probably switch the engine back to the legacy FBX import because the epic dev team is hopeless and the new stuff hasn’t worked right (also it didn’t need to exist but that’s besides the point).

With that, once you export the animation to FBX with the correct settings from blender you should be able to import it into the engine alright.

Probably try a 2 bone skeleton before the humanoid if you are just going on your own without add-ons. 90% of issues is the blender settings on export. Wait, it was, after epic messed with the import script I think it became a good 50/50

Unreal only needs the final animation on the game skeleton, so the usual approach is to bake the deform rig’s motion onto the game rig and export that.

  1. Keep the deform skeleton as the “pose” rig. For export, select the game (export) armature and add Copy Transforms constraints on its bones pointing at the matching deform bones (GameRigTools normally has a “bake to game rig” button that does exactly this).
  2. Bake: select the game armature, Pose Mode, Select All, then Pose > Animation > Bake Action. Enable Visual Keying and Clear Constraints, Only Selected Bones, and set the frame range. Now the game bones carry real keys and don’t depend on the deform rig.
  3. Export FBX: select only the game armature (plus meshes if you want them), enable Armature, uncheck “Add Leaf Bones”, set Primary Bone Axis Y and Secondary X for the UE4 skeleton, Apply Scalings: FBX Units Scale, and under Bake Animation keep “NLA Strips” and “All Actions” off unless you need them. Make sure the exported action is the one active on the game armature.
  4. In Unreal import the FBX as Animation, pick your existing UE4 skeleton asset (don’t import a new skeleton), and check the scale is 1.

If it comes out rotated, the deform-to-game bone roll or axis orientation differs; fixing the bone roll before baking solves it.