Page MenuHome

A different hierarcical armature fbx was exported when i exported binary fbx only with ARMATURE
Closed, InvalidPublic

Description

System Information
windows7 64bit

Blender Version
2.71 date 2014-06-25 18:36
Hash:9337574

Short description of error
A different hierarcical armature fbx was exported when i exported binary fbx only with ARMATURE

Exact steps for others to reproduce the error
Export binary fbx only with ARMATURE.
There is not Armature node.
Export binary fbx with ARMATURE and MESH
There is Aramature node.

Details

Type
Bug

Event Timeline

Masashi Kamiyama (masakami) created this task.
Masashi Kamiyama (masakami) raised the priority of this task from to Needs Triage by Developer.
Bastien Montagne (mont29) triaged this task as Needs Information from User priority.Jun 28 2014, 2:50 PM

I do not know what you call an 'Armature' node, is it an Unity term?

Anyway, exporting only armature only export their 'fake-objects' hierarchy of bones, quite obviously, I see no bug here… So need more info about what you expect?

I do not know what you call an 'Armature' node, is it an Unity term?

no, it is a just name.

Attached unity_editor.jpg tells all.
Export binary fbx only with ARMATURE
Hierarchy in unity is

untitled@01
|-Armature|Bone
  |-Armature|Bone.001

Export binary fbx with ARMATURE and MESH

untitled@01a
|-Armature    i called this Armature node
  |-Armature|Bone
    |-Armature|Bone.001
|-Cylinder

in unity there is a warning
"Imported animation ('untitled@01.fbx') doesn't match because there is a different amount of root nodes in the model file. Please unify the model and animation file, otherwise you won't be able to play animation on the model."

I expect to be able to export same hierarchy fbx when exporting only armature.
like this

untitled@01
|-Armature
  |-Armature|Bone
    |-Armature|Bone.001

I’m sorry, but 'Armature' root node is present in both FBX files. If Unity can’t import/take it into account when armature is not linked to a mesh, that’s Unity’s bug, not Blender FBX exporter’s.

Unless you can prove me that that kind of thing works with files from other source than Blender’s exporter, and can give me such FBX file, I can’t do anything (would suggest to rather ask support from Unity community here). So will close the report for now, we can always reopen if needed.

I made similar fbx with mayaLT, and I got ideal hierarchy.

Export binary fbx only with ARMATURE
Hierarchy in unity is

maya_nomesh
|-joint1
  |-joint2
    |-joint3

Export binary fbx with ARMATURE and MESH

maya_mesh
|-joint1
  |-joint2
    |-joint3
|-pCylinder1

Thanks for the file…

So, Maya does not export a root 'armature' empty node… it directly exports 'bones', root ones being linked to nothing (to simplify), whether the armature is linked to a mesh or not.

Now, I still do not see any bug here from Blender part, just looks like Unity ignores root empty 'armature' when children bones are not linked to any mesh, to me it sounds more like Unity bug than Blender exporter bug… Unless one considers root empty ('fake armature') *is* a bug, but I did this from other example FBXs, so… And in any case, FBX models ('objects') are supposed to handle any level of parenting, and armatures & bones *are* mere models.

Would suggest to report that issue to Unity guys, and wait for their answer first?

Would suggest to report that issue to Unity guys, and wait for their answer first?

ok, i will report this to unity support first.