FBX bug import #70244

Closed
opened 2019-09-25 15:35:26 +02:00 by Pablo Martinez Lopez · 13 comments

System Information
Operating system:
Graphics card:

Blender Version
Broken:
(example: 2.79b release)
(example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

I can't import correctly Fbx models exported correctly from Daz3d as fbx file.

**System Information** Operating system: Graphics card: **Blender Version** Broken: (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). **I can't import correctly Fbx models exported correctly from Daz3d as fbx file.**

Added subscriber: @Estigio97

Added subscriber: @Estigio97
Member

Added subscriber: @JulienDuroure

Added subscriber: @JulienDuroure
Member

Hello,

Please provide a simple fbx file that will show the issue

Hello, Please provide a simple fbx file that will show the issue

I send you the fbx file test. I can open in maya, but not in blender and I need to use blender.Test.fbx

I send you the fbx file test. I can open in maya, but not in blender and I need to use blender.[Test.fbx](https://archive.blender.org/developer/F7774641/Test.fbx)
Member

Removed subscriber: @JulienDuroure

Removed subscriber: @JulienDuroure
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I am getting:

Traceback (most recent call last):
  File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/__init__.py", line 203, in execute
    return import_fbx.load(self, context, **keywords)
  File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2798, in load
    _(); del _
  File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2795, in _
    root_helper.link_hierarchy(fbx_tmpl, settings, scene)
  File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2293, in link_hierarchy
    child.link_hierarchy(fbx_tmpl, settings, scene)
  File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2249, in link_hierarchy
    (mmat, amat) = mesh.armature_setup[self]
KeyError: Genesis8Female
location: <unknown location>:-1
I am getting: ``` Traceback (most recent call last): File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/__init__.py", line 203, in execute return import_fbx.load(self, context, **keywords) File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2798, in load _(); del _ File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2795, in _ root_helper.link_hierarchy(fbx_tmpl, settings, scene) File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2293, in link_hierarchy child.link_hierarchy(fbx_tmpl, settings, scene) File "/build_linux/bin/2.81/scripts/addons/io_scene_fbx/import_fbx.py", line 2249, in link_hierarchy (mmat, amat) = mesh.armature_setup[self] KeyError: Genesis8Female location: <unknown location>:-1 ```

I receive the same error message

I receive the same error message
Member

Note: despite the fact the armature wont be correctly set up (error above), I still get a mesh coming in (Genesis8Female.Shape)
There seems to be something wrong with that, too (get a crash entering editmode on this one).
I have to call:
bpy.data.meshes['Genesis8Female'].validate_material_indices()
to correct this.

Note: despite the fact the armature wont be correctly set up (error above), I still get a mesh coming in (`Genesis8Female.Shape`) There seems to be something wrong with that, too (get a crash entering editmode on this one). I have to call: `bpy.data.meshes['Genesis8Female'].validate_material_indices()` to correct this.

This issue was referenced by 6eb9c11fe0

This issue was referenced by 6eb9c11fe04454601065d6e93029622b88eb69c8

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2019-09-25 17:46:17 +02:00

Will fix the crash (issue related to sub-armature children of main one), but please note that importing such complex rig is doggy at best in Blender currently… You'll have to reset the pose at the very least.

Will fix the crash (issue related to sub-armature children of main one), but please note that importing such complex rig is doggy at best in Blender currently… You'll have to reset the pose at the very least.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#70244
No description provided.