Announcement

Collapse
No announcement yet.

Fix for Blender Exported FBX skeletal mesh with extra root bone?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fix for Blender Exported FBX skeletal mesh with extra root bone?

    Binary FBX skeletal meshes exported from Blender 2.7x have an extra root bone added after importing it in Unreal Engine 4.

    https://forums.unrealengine.com/show...-Armature-Name

    It can be fixed by commenting out line #1489 in "UnrealEngine\Engine\Source\Editor\UnrealEd\Private\Fbx\FbxMainImport.cpp", i.e.

    //Attr->GetAttributeType() == FbxNodeAttribute::eNull ||

    Should I post a pull request for this or is this issue with Blender 2.7x FBX exporter?
    Last edited by Monu29; 11-16-2016, 10:10 AM. Reason: update line number

    #2
    I think this is an issue with UE4, not FBX.

    http://blender.stackexchange.com/que...ture-bone?rq=1

    Basically this line of code tells UE4 to treat the first thing they came across in hierarchy as root bone, regardless of whether it's actually the case.

    Comment


      #3
      Originally posted by Zireael07 View Post
      I think this is an issue with UE4, not FBX.

      Basically this line of code tells UE4 to treat the first thing they came across in hierarchy as root bone, regardless of whether it's actually the case.
      What do you suggest, Should I create a pull request with this line commented.
      I am new to Unreal Engine 4.

      Comment


        #4
        Originally posted by Monu29 View Post
        What do you suggest, Should I create a pull request with this line commented.
        I am new to Unreal Engine 4.
        If you're new to the engine I don't think you should make any PRs.

        The real fix would be for the importer to check if the first thing in hierarchy is really a root bone. And/or check if first thing in hierarchy is "Armature".

        Comment


          #5
          Hi everyone!

          There is a lot of "fix" for this problem. For me, this one do the trick.

          "As things stand right now, the importer for fbx is effectively patched (a nice word for hacked) to allow as exception for Blender made fbx files if the name of the root node is 'Armature'."

          Click image for larger version

Name:	AnotaciĆ³n 2020-07-30 164620.jpg
Views:	49
Size:	19.2 KB
ID:	1795016

          Source: https://forums.unrealengine.com/deve...blender-export

          Comment

          Working...
          X