I just purchased a model off of the Unity marketplace for use in a game I’ve been working on in UE4.
I was able to import the model’s FBX file into UE4 alright and it provided me a mesh, skeleton, and physics asset. I’ve been having issues with an error I receive trying to import my animations into UE4. I’ve looked all over, but am completely stumped as to how to satisfy this error:
**Error Mesh contains Armature bone as root but animation doesn’t contain the root track.
Import failed. **
Armature is the name of the root bone in my Acrocanthosaurus model. All of the animations are FBX files as well.
I have attached a screenshot. Does anyone know how to remedy this issue?
Open my animation in Blender (or another modeling software, but I used Blender)
In Blender, select file / import / as FBX file in the topleft corner.
In Blender, then go to file / export / as FBX file in the topleft corner.
Then, in the screenshot below, change the Armature FBXNode Type to ‘Root.’ Mine by default was set to Null.
I’m leaving this here in case somebody else has the same problem and happens upon this thread.
Just setting the toggle also didn’t work for me, however I managed to find something that did work.
In blender after you import the FBX, in the animation tab at the bottom in the timeline, rename the very top ‘Armature’ track (see screenshot), to ‘root’ and then follow the same export instructions as above, it imports to unreal without the error! It gave me some warnings but the animations seemed to work just fine, hope it helps someone
It seems like the error is due to a mismatch between the Armature bone structure in your model and the animation files. Make sure that the root bone in your Armature is consistent across all animations. Double-check the animation files to ensure they include the necessary root bone track. If the issue persists, consider adjusting the Armature or re-exporting the animations with the correct bone structure.