# The trials and tribulations of Blender & Skeletal Meshes

**URL:** <https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [January 17, 2016, 7:16pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693 "2016-01-17T19:16:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [January 17, 2016, 7:16pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/1 "2016-01-17T19:16:16Z")

</div>

\*\*UPDATE - \*\*Made a fix to the plugin that should work (see below): [Dropbox - io\_scene\_fbx\_277fixed.zip - Simplify your life](https://www.dropbox.com/s/4xcvscam1foo9zz/io_scene_fbx_277fixed.zip?dl=0)

* * *

Hello Folks,  
finally decided to post a thread about this after many days of frustration.  
I’ll try to keep this thread updated with fixes and use it as a hub to gather all the main issues I can find about UE4 and Blender.

I’ve been using Blender and Unreal Engine and it got us through our previous game without much trouble (a mobile fighting game made with UDK). The only real issue it had back then was with an additional bone (the armature) been added upon import. Luckily a [fix](https://krisredbeard.wordpress.com/tutorials/tutorial-blender-to-udk-player-model/) to the FBX plugin solved the problem.

I’ve been using UE4 since its release and been using Blender all the way.  
The only main issue I found (up to Blender 2.74) was the **incorrect bone scaling**.  
No matter the settings or scene setup, upon importing the Skeletal Mesh to UE4, **the bones would be 100 times smaller than in reality** , as if they weren’t scaling with everything else which was being imported correctly. While the character looks ok at a glance, this is easily recognizable by the fact that the PhAT Asset cannot be created automatically due to the bones being too small and by the fact that if you try to rotate the bones in the character editor, they would rotate by only a few degrees even if in the gizmo you’re doing whole revolutions.

This isn’t an issue until you start importing animations and your skeletal mesh gets re-scaled to 0.01. The fix I was able to find is to import the animations at 100 the scale in the import settings. This works mostly fine, with the only issue being the huge sockets (100 times their size). I’ve researched this a lot and couldn’t find two export/import settings that agree with each other.

Apparently their way of fixing this was [this](https://developer.blender.org/rBAf30fc86ab552f193b891bbb68317b0c123e73b75), which with the addition brought to the FBX i/o addon by 2.75 and 2.76, **re-introduced the problem of the armature added as an additional bone**.

This is where I got pretty mad.

I saw a couple of topics about the **armature as a bone** issue here on the forum as well on the Answer Hub but apparently most people shrugged it off, re-imported everything and went with it.

Also, the problem with the scaling wasn’t fixed, at least for me. I experience the same bone scaling issue with 2.75 and 2.76 - no matter the import/export or scene settings. I actually found a [workaround](https://developer.blender.org/D1395) that **fixes the bone scaling issue** but the problem of the **armature as a bone** remains.  
The fix was rejected by the Blender dev team as it broke other stuff but it worked for me so I dusted off my limited programming skill and FileMerge and starting diff-ing the exporters from 2.74 and 2.76 to come up with a solution.

I managed to remove all the code that added the **armature as a bone** issue but now the workaround aforementioned wasn’t working anymore and this is where I got stuck.

To the Blender guys, this is [all fine](https://developer.blender.org/T45368) as to them, adding the armature as a bone is “not a bug” and a “more like a matter of adjusting your process”. To me, this is unacceptable.

So to sum it the two issues are:  
**Blender 2.74** - Bones get exported at .01 their original size, no matter the export settings. Works fine until animations are added to the mix. Workaround is importing animations scaled by 100.  
**Blender 2.75 & 2.76** - The armature is added to the skeleton as a bone above the root. Bones get exported at .01 their original size, no matter the export settings.

If anybody has any suggestion or possible fix I’d love to hear it.  
It’s pretty frustrating to see the fbx pipeline so broken after the contribution by Epic to the Blender development and to be clear, I blame these issues on Blender and not Unreal.

---

<div class="post-metadata">

**Author:** ![SememeS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SememeS](https://forums.unrealengine.com/u/SememeS)\
**Post date:** [January 17, 2016, 9:59pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/2 "2016-01-17T21:59:04Z")

</div>

Using Blender with UE4 over the last year with skeletal meshes was and still is one hell of a roller-coaster ride… Although now, thankfully, _most_ things work.

I get your frustration, but man, Epic giving $10k to blender to work on fbx isn’t what’s going to fix things with fbx. Hell that’s barely enough to pay some programmer for a few months or maybe a medium/short contract. Don’t get me wrong I’m really happy they did, it was a very awesome and generous gesture, since it made the dev team at blender more focused on their fbx reverse-engineering\*.

Blender can’t use offical fbx source because of GPL.

\*In the end this is a big problem. Bastien and Team over at blender are reverse-engineering fbx… As long is this is the case we’ll never get 1:1 parity with official fbx. We’re lucky to even have what we have right now tbh considering this is not the primary focus over at Blender. I’m happy we have as much as we do even though it is frustrating a lot of times.

The only ‘maybe’ solution that I can think of is if Epic were to create their own fbx plugin for blender (distributed by epic not blender so that it doesn’t touch GPL issues)  
\*Ex. Like the plugins they make for Maya distributed with the engine

Thing is, I’m not even sure that is possible because of what code they would need to touch/integrate for creating an fbx exporter plugin, If it requires having blender code in the plugin then its bound by GPL so… yeah. no clue.

It’s either that or they’ll need to keep sending money to see progress. But I’m not sure how much of a priority Blender is on everyone’s list compared to the top proprietary tools.

---

<div class="post-metadata">

**Author:** ![cyaoeu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Post date:** [January 18, 2016, 1:56am UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/3 "2016-01-18T01:56:10Z")

</div>

I’ll try to help.

**How to export from Blender 2.76b with correct scale settings**

Set scene units to metric, 0.01 scale  
Scale assets to have plausible size (eg. human should be 1.8m or so in the dimensions panel)  
Apply transforms (armature and mesh should have 1.000 scale and 0m transforms and 0 degrees rotation)  
Export with the binary .fbx exporter with default scale (disable add leaf bones)  
Done!

**How to export root motion animations made in Blender**

In the dope sheet, select your root bone keyframes, copy them and then delete the keyframes  
Insert a new keyframe (locrot) for the armature object in object mode on the frame of the animation  
In the dope sheet, paste the keyframes  
Export with the binary .fbx exporter with default scale (disable add leaf bones), also disable NLA Strips and All Actions if only exporting one animation  
Done!

Now the bugs:

**Apex doesn’t work for 2+ bones (reported)**

> **[Apex cloth, 1 bone works but 2+ doesn't](https://forums.unrealengine.com/questions/350689/apex-cloth-1-bone-works-but-2-doesnt.html)**
>
> I’m using 4.9.2 and Blender version 2.76b. I’m exporting an .fbx file and opening it in the standalone ClothingToolCHECKED.exe (physx ver. 3.3), and from there compute the tangents and save as an .apx file. Using one bone it works fine, but as soon...

I didn’t test with any older blender versions though. Guess I’ll have to do that.

---

<div class="post-metadata">

**Author:** ![Whammy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whammy](https://forums.unrealengine.com/u/Whammy)\
**Post date:** [January 19, 2016, 3:00am UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/4 "2016-01-19T03:00:19Z")

</div>

I found that the older exporter from 2.75a works better than the newer 2.76 version. One thing I’ve learned the hard way is to avoid using any scaling. Make your objects actual size in Blender if you intend to export to fbx. (Remember that UE4 units are centimeters.) Scaling objects during export/import is asking for trouble. The same goes for objects that have rotations.

---

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [February 20, 2016, 1:58pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/5 "2016-02-20T13:58:48Z")

</div>

I DID IT.  
\*\*  
Fixed FBX Export Plugin (2.75b custom fixed)\*\*: [Dropbox - Error](https://www.dropbox.com/s/lh8ka73vn7lwbvz/io_scene_fbx_275fixed.zip?dl=0)  
**Settings**  
Scene Units: Meter, Scale 0.01  
Export Settings: Scale 1, Apply Unit: Unchecked, Apply Transform: Unchecked.  
Works with Skeletal Meshes and Animations.

So, after doing a lot of tests, 2.75b seemed like the version that got the scaling of the bones right (I tried all the way to the latest 2.77 preview build in every possible export/scale combination and none of them worked). The problem with 2.75b was still that the armature was being added as the root of the skeleton, creating all sorts of issues. By diffing with the plugin in 2.74 I removed two lines of codes that were responsible for it. I’ll keep testing with newer versions of the FBX plugin and see if I can come up with a way to fix it on the newer plugins. Apparently they seem to be [looking into it more seriously](https://developer.blender.org/T47400).

---

<div class="post-metadata">

**Author:** ![cyaoeu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Post date:** [February 20, 2016, 5:22pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/6 "2016-02-20T17:22:59Z")

</div>

> [@vernocchi;477863](#):
>
> I DID IT.  
> \*\*  
> Fixed FBX Export Plugin (2.75b custom fixed)\*\*: [Dropbox - Error - Simplify your life](https://www.dropbox.com/s/lh8ka73vn7lwbvz/io_scene_fbx_275fixed.zip?dl=0)  
> **Settings**  
> Scene Units: Meter, Scale 0.01  
> Export Settings: Scale 1, Apply Unit: Unchecked, Apply Transform: Unchecked.  
> Works with Skeletal Meshes and Animations.
> 
> So, after doing a lot of tests, 2.75b seemed like the version that got the scaling of the bones right (I tried all the way to the latest 2.77 preview build in every possible export/scale combination and none of them worked). The problem with 2.75b was still that the armature was being added as the root of the skeleton, creating all sorts of issues. By diffing with the plugin in 2.74 I removed two lines of codes that were responsible for it. I’ll keep testing with newer versions of the FBX plugin and see if I can come up with a way to fix it on the newer plugins. Apparently they seem to be [looking into it more seriously](https://developer.blender.org/T47400).

Does root motion work (on the root bone in pose mode) when you export your animation?

---

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [February 21, 2016, 10:06am UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/7 "2016-02-21T10:06:42Z")

</div>

I have not tested it since our game doesn’t require it but I don’t see why it wouldn’t work. Bear in mind that skeletons exported with 2.75b (vanilla exporter) and 2.76 have the armature as an extra bone at the root. Most people saw root motion breaking because the root wasn’t the root bone anymore but was the armature object itself.

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [February 21, 2016, 12:03pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/8 "2016-02-21T12:03:10Z")

</div>

tried the 2.77 export in hope that the extra “armature” bone would be fixed but no joy, in the end i now have a workflow which should work, but it still leaves a “bone” (renamed armature) with no weights on it, i gave up hoping the blender guys would fix this issue, after a few posts back and forth i realised it was a no hope cause.

the answer is live with it or use other 3d programs. at time i do wish Epic would go bask to psk/psa exporter/importer

---

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [February 21, 2016, 12:20pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/9 "2016-02-21T12:20:28Z")

</div>

> [@Geodav;478290](#):
>
> tried the 2.77 export in hope that the extra “armature” bone would be fixed but no joy, in the end i now have a workflow which should work, but it still leaves a “bone” (renamed armature) with no weights on it, i gave up hoping the blender guys would fix this issue, after a few posts back and forth i realised it was a no hope cause.
> 
> the answer is live with it or use other 3d programs. at time i do wish Epic would go bask to psk/psa exporter/importer

Have you tried my version of the 2.75 exporter? It should fix both of the problems. I’m gonna stick with that and try new releases as they come out to see if they fixed it or if I can fix it.

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [February 21, 2016, 1:10pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/10 "2016-02-21T13:10:04Z")

</div>

tbh it would help more if you could fix the current version, if i remeber rightly all i did in the older versions was to edit 2 lines that added the extra root bone, i didn’t do much with anims but i didn’t have any issues with them

---

<div class="post-metadata">

**Author:** ![Neutronux](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neutronux/32/1194630_2.png) [@Neutronux](https://forums.unrealengine.com/u/Neutronux)\
**Post date:** [February 21, 2016, 8:05pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/11 "2016-02-21T20:05:57Z")

</div>

> [@Geodav;478290](#):
>
> but it still leaves a “bone” (renamed armature) with no weights on it, i gave up hoping the blender guys would fix this issue

It seems to be the same if you import a UE4 mannequin into Blender (no root bone as bone but the armature of the mannequin is called just root). If you rename the armature of a custom-mesh to root and don’t use any real root bone in Blender then the import looks like it should? If you need such root bone (as real bone) you could probably do something with control bones and exclude it from export as non-deform bone (as there should not be any weights to the root bone anyway). But so far I had no issue with this further “root” bone or without the root bone.

---

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [March 21, 2016, 2:27pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/12 "2016-03-21T14:27:03Z")

</div>

Hey folks, I fixed the exporter for 2.77 - apparently _it works_.  
Export settings: Scale 1.00 (Apply Unit Scale set to off), DO NOT apply transforms, Armature FBXNode Type set to ROOT.

> **[io\_scene\_fbx\_277fixed.zip](https://www.dropbox.com/s/4xcvscam1foo9zz/io_scene_fbx_277fixed.zip?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [March 21, 2016, 7:02pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/13 "2016-03-21T19:02:07Z")

</div>

i’ll give it a go at weekend, i’ve got soo much on my plate atm hardly time to breath ☹

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [March 23, 2016, 8:11pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/14 "2016-03-23T20:11:50Z")

</div>

> [@vernocchi;497199](#):
>
> Hey folks, I fixed the exporter for 2.77 - apparently _it works_.  
> Export settings: Scale 1.00 (Apply Unit Scale set to off), DO NOT apply transforms, Armature FBXNode Type set to ROOT.
> 
> [Dropbox - io\_scene\_fbx\_277fixed.zip - Simplify your life](https://www.dropbox.com/s/4xcvscam1foo9zz/io_scene_fbx_277fixed.zip?dl=0)

Confirmed, I’ve been using it for my projects, and it works fine 🙂

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [March 23, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/15 "2016-03-23T20:41:44Z")

</div>

ok did a very quick test and YIPPIE no armature bone on the root

fantastic job vernocchi

i’ll do a few more tests at the weekend and if all goes well i’ll do a video update with you as the main star 🙂

---

<div class="post-metadata">

**Author:** ![vernocchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vernocchi](https://forums.unrealengine.com/u/vernocchi)\
**Post date:** [March 24, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/16 "2016-03-24T12:50:46Z")

</div>

Woot. I’m not sure if I’m ready for the fame but make sure to plug Empires Apart 😃  
Glad that it works, folks!

---

<div class="post-metadata">

**Author:** ![Geodav](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/geodav/32/1008648_2.png) [@Geodav](https://forums.unrealengine.com/u/Geodav)\
**Post date:** [March 26, 2016, 6:57pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/17 "2016-03-26T18:57:11Z")

</div>

ok video is up [https://youtu.be/ZMiWA1Z0L7E](https://youtu.be/ZMiWA1Z0L7E)

just an issue when using the characters from UE4 eg it doesn’t work on import but as for the rest works great well done

---

<div class="post-metadata">

**Author:** ![owninator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@owninator](https://forums.unrealengine.com/u/owninator)\
**Post date:** [April 10, 2016, 8:12am UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/18 "2016-04-10T08:12:22Z")

</div>

Super awwsome, i was able to export animations B4, but then it didnt work anymore.  
this works great 😃

---

<div class="post-metadata">

**Author:** ![Kelheor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kelheor](https://forums.unrealengine.com/u/Kelheor)\
**Post date:** [June 5, 2016, 3:42pm UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/19 "2016-06-05T15:42:50Z")

</div>

Great job!  
Just wanted to said that the size of mesh in animations is incorrect, if EnableRootMotion and ForceRootLock is unchecked. So don’t forget to check them.  
Also there is some warnings, when I import my models, like: Imported bone transform is different from original. Please check Output Log to see detail of error. But everything works fine on the first sight, so I ignore them.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3f63d6221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3f63d6221](https://forums.unrealengine.com/u/anonymous_user_3f63d6221)\
**Post date:** [July 1, 2016, 2:15am UTC](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693/20 "2016-07-01T02:15:51Z")

</div>

Dude, I can’t thank you enough for this fix. I’ve been tearing my hair out for hours trying to fix the extra root bone issue.

[Next page](https://forums.unrealengine.com/t/the-trials-and-tribulations-of-blender-skeletal-meshes/52693.md?page=2)
