I want to thank and praise God for showing me a solution which I would like to share with other Blender users who may be discovering the extra root bone issue for the first time, suddenly realizing that it will prevent root animations (a very important feature for actions like climbing up a ledge)!
Firstly, you can fix this problem by simply renaming your armature inside Blender to Armature before exporting.
As of 4.16, UE4 will automatically remove the extra bone on import (but ONLY if the above naming is followed!). While this will work fine, I actually prefer the following solution by krisredbeard, as it allows you to use ANY name for your armature and still export without the extra bone (it's also super-easy to do): https://krisredbeard.wordpress.com/tutorials/tutorial-prevent-blender-fbx-exporter-adding-extra-root-bone/
Now, if like me, you already had your old skeleton and a bunch of animations imported into UE4, along with an Animation BP, blendspaces, etc, you will want to reuse all of that info! To do this, you will need to RETARGET. Here's how:
First be sure you have a back up of your entire project! This is SO important in case you mess up. I was able to repeat the process below multiple times because I had a backup I could keep restoring folders from.
Import your new skeletal mesh in its T-Pose (IMPORTANT: You MUST export your FBX mesh from Blender with BOTH a Scale of 1 and a Delta Scale of 1. Otherwise, root motion animation will get messed up! Don't worry if your old skeleton used a different delta scale, we will compensate for this later). Make sure to CLEAR the skeleton selection before hitting import so UE4 will actually import the new skeleton! (I also chose to import a new Physics Asset, but that was because mine had never been modified yet.)
If you get this warning in your message log: "Imported bone transform is different from original. Please check Output Log to see detail of error", you have extra "Delta Scale" applied in Blender. Go back and re-export with both scale and delta scale @ 1.0
After importing to UE4, rename your new Skeletal Mesh, Physics Asset, and Skeleton as desired. Hit Save All.
VERY IMPORTANT! If you have sockets on your old Skeleton, open it, and in the skeleton tab, select any sockets on a single bone, right-click and choose Copy Selected Sockets (or Ctrl-C). Open your NEW Skeleton, right-click on the corresponding bone, and choose Paste Sockets to Selected Bone (or Ctrl-Shift-V). Remove the _0 addendum from the pasted sockets' names in both the "Skeleton Tree" and the "Details Panel". Repeat this step for any other bones with sockets. When done, save your new skeleton, and close Persona.
Right-click on your OLD skeleton and choose "Retarget to Another Skeleton". You will get the message, "You need to close Persona or anything that references animation, mesh or animation blueprint before this step. Continue?" Press Yes.
On the Select Skeleton dialog, uncheck "Show Only Compatible Skeletons". Now, select your NEW skeleton from the list. IF your old skeleton had a delta scale of anything other than 1.0, then you will ALSO need to uncheck "Convert Spaces to new Skeleton" (otherwise your mesh will turn into a horrifying contorted monster!). Now press "Retarget". All your animations associated with your old skeleton will now be updated to work with your new skeleton minus the extra root bone! I think it's automatically saved at this point, but Hit Save All to be on the safe side. :-)
Next, open your Character Blueprint, select your Skeletal Mesh component and update it to be your new mesh.
If you had any delta scale on your old mesh, you may notice your new mesh shrink (or possibly grow!) here. In this case, don't worry, just add whatever delta scale you had applied in Blender right here inside UE4, using the Mesh's scale setting in the Transform tab (in my case it was 2.0). Compile and save.
Now you should be able to safely delete++ your old assets (see note below). It may ask to replace references, but if they're not referencing anything important (other than themselves) you can force delete them. ++However, if you made changes to your old physics asset and want to keep using those changes, you may want to consolidate your NEW one to your OLD one. I have not needed to myself, but you can try the following (remember to make a backup of these files in case something goes wrong!):
Select both your old physics asset and your new one with Ctrl-Left Click. Then Right-Click, select Asset Actions > Replace References.
In the Replace References dialog, select your OLD physics asset to consolidate to and click "Consolidate Assets".
Hit "Make Writable and Delete" to remove the new physics asset, and close the dialog box.
That should be everything! I hope this tutorial helps.
Nov 13 '17 at 08:48 PM
in Using UE4