fbx: Armature breaks object hierarchy #60111

Open
opened 2019-01-03 13:02:06 +01:00 by Jan Javůrek · 11 comments

Blender Version
Broken: 2.79 -f7e9642da9c9-; 2.80 -11f2c65128dc-

Short description of error
Object is parented under a dummy and has armature at the same time. After export to FBX and importing back it loses the dummy as parent as object is now parented directly under the Armature.

FBX_armature_vs_hierarchy.jpg
Teapot1.blend
Teapot1.fbx

Exact steps for others to reproduce the error

  1. create a dummy object and cube object
  2. set the dummy as parent to the cube
  3. create an Armature with a single bone
  4. for the Cube, create an Armature modifier and link it to the created armature
  5. create vertex group with the name of created bone and link all vertices to it
  6. export all into FBX, create an empty scene and import the FBX back
  7. see that the dummy is no longer parent to the Cube and Cube is now parented under the Armature
**Blender Version** Broken: 2.79 -f7e9642da9c9-; 2.80 -11f2c65128dc- **Short description of error** Object is parented under a dummy and has armature at the same time. After export to FBX and importing back it loses the dummy as parent as object is now parented directly under the Armature. ![FBX_armature_vs_hierarchy.jpg](https://archive.blender.org/developer/F6160090/FBX_armature_vs_hierarchy.jpg) [Teapot1.blend](https://archive.blender.org/developer/F6160100/Teapot1.blend) [Teapot1.fbx](https://archive.blender.org/developer/F6160103/Teapot1.fbx) **Exact steps for others to reproduce the error** 1) create a dummy object and cube object 2) set the dummy as parent to the cube 3) create an Armature with a single bone 4) for the Cube, create an Armature modifier and link it to the created armature 5) create vertex group with the name of created bone and link all vertices to it 6) export all into FBX, create an empty scene and import the FBX back 7) see that the dummy is no longer parent to the Cube and Cube is now parented under the Armature
Author

Added subscriber: @skywalger

Added subscriber: @skywalger

Added subscribers: @mont29, @ZedDB

Added subscribers: @mont29, @ZedDB

@mont29 is this a bug or a "exporting to .fbx will make you lose this information" issue?

@mont29 is this a bug or a "exporting to .fbx will make you lose this information" issue?
Author

In #60111#592933, @ZedDB wrote:
@mont29 is this a bug or a "exporting to .fbx will make you lose this information" issue?

Importing of FBX is causing losing of the original parent...when I import the same FBX into Maya the dummy is still the parent

> In #60111#592933, @ZedDB wrote: > @mont29 is this a bug or a "exporting to .fbx will make you lose this information" issue? Importing of FBX is causing losing of the original parent...when I import the same FBX into Maya the dummy is still the parent
Bastien Montagne was assigned by Dalai Felinto 2019-01-04 15:44:44 +01:00

Added subscriber: @dfelinto

Added subscriber: @dfelinto

@skywalger could you please reproduce this in a simpler file? (with cubes mostly). As simple as possible to reproduce the issue.

@skywalger could you please reproduce this in a simpler file? (with cubes mostly). As simple as possible to reproduce the issue.

There is no real way to fix this, as FBX does have a real concept of armature (it takes Maya's model roughly, using simple chains of empties [joints]). So 'strong' armature concept like Blender one has to be converted, and this will often lead to loss of info at some point. Waiting for simple file but kinda doubt there is much to be done here.

There is no real way to fix this, as FBX does have a real concept of armature (it takes Maya's model roughly, using simple chains of empties [joints]). So 'strong' armature concept like Blender one has to be converted, and this will often lead to loss of info at some point. Waiting for simple file but kinda doubt there is much to be done here.
Author

In #60111#593547, @dfelinto wrote:
@skywalger could you please reproduce this in a simpler file? (with cubes mostly). As simple as possible to reproduce the issue.

There you go...one cube, parented under a dummy and skinned to a bone at the same time.
obrazek.png
simple_example.blend
simple_example.fbx

The thing is, that we (in the company) would like to use this hierarchy information for hiding of various parts of an asset in our new game engine. The FBX must be editable by Maya, Max or Blender and serves as a source file. So for example the FBX is initially created by a Blender user...later adjusted by Maya user and then again by Blender user...and here is the problem when the information gets lost.

If the problem doesn't get solved, then we have to figure out some other way (like to store the armature separately maybe so the hierarchy doesn't break), or be OK that the FBX can´t be imported into Blender.

This will be a blocker in cases when the asset must be edited by a Blender user and the .blend file is not available or not up to date with the FBX.

> In #60111#593547, @dfelinto wrote: > @skywalger could you please reproduce this in a simpler file? (with cubes mostly). As simple as possible to reproduce the issue. There you go...one cube, parented under a dummy and skinned to a bone at the same time. ![obrazek.png](https://archive.blender.org/developer/F6198149/obrazek.png) [simple_example.blend](https://archive.blender.org/developer/F6198136/simple_example.blend) [simple_example.fbx](https://archive.blender.org/developer/F6198140/simple_example.fbx) The thing is, that we (in the company) would like to use this hierarchy information for hiding of various parts of an asset in our new game engine. The FBX must be editable by Maya, Max or Blender and serves as a source file. So for example the FBX is initially created by a Blender user...later adjusted by Maya user and then again by Blender user...and here is the problem when the information gets lost. If the problem doesn't get solved, then we have to figure out some other way (like to store the armature separately maybe so the hierarchy doesn't break), or be OK that the FBX can´t be imported into Blender. This will be a blocker in cases when the asset must be edited by a Blender user and the .blend file is not available or not up to date with the FBX.
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Please confirm that this is an issue in Blender 2.8

Please confirm that this is an issue in Blender 2.8
Brendon Murphy changed title from Armature breaks object hierarchy to fbx: Armature breaks object hierarchy 2019-06-10 13:13:00 +02:00
Author

In #60111#698422, @BrendonMurphy wrote:
Please confirm that this is an issue in Blender 2.8

Yes it is still an issue, tested on version from 2019-06-12, Hash: 2404220e80a9

> In #60111#698422, @BrendonMurphy wrote: > Please confirm that this is an issue in Blender 2.8 Yes it is still an issue, tested on version from 2019-06-12, Hash: 2404220e80a9
Bastien Montagne removed their assignment 2019-08-12 16:02:29 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#60111
No description provided.