Maniphest T94605

Import .fbx bug
Confirmed, Normal

Assigned To
None
Authored By
Adrien (TheFlockers)
Jan 3 2022, 3:57 PM
Tags
  • Add-ons (BF-Blender)
Subscribers
Adrien (TheFlockers)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)

Description

System Information
Operating system: windows 10
Graphics card: GTX 1060

Blender Version
3.0

Short description of error
When I import a .fbx file into the software, I get an error message and the .fbx does not import

Event Timeline

Adrien (TheFlockers) created this task.Jan 3 2022, 3:57 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Jan 3 2022, 4:36 PM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Which error message?

Might be the same as T93541: Blender 3.0 cannot import FBX (containing more than 8 UV layers).
Please also check if this is still an issue for you in a fresh 3.1 build from https://builder.blender.org/download/daily/

Adrien (TheFlockers) added a comment.Jan 3 2022, 5:04 PM

This error:

Philipp Oeser (lichtwerk) added a comment.Jan 3 2022, 5:14 PM

Could you share the .FBX?

Adrien (TheFlockers) added a comment.Jan 3 2022, 5:54 PM

Yes, it's this .fbx:

Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Triage.Jan 3 2022, 6:22 PM
Pratik Borhade (PratikPB2123) updated the task description.Jan 4 2022, 7:35 AM
Pratik Borhade (PratikPB2123) added a project: Add-ons (BF-Blender).
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).

I can confirm. @Philipp Oeser (lichtwerk) , are you able to reproduce?

Python: Traceback (most recent call last):
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
    if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2849, in load
    _(); del _
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2843, in _
    root_helper.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2278, in build_hierarchy
    child.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2244, in build_hierarchy
    child.build_skeleton(self, Matrix(), force_connect_children=settings.force_connect_children)
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2044, in build_skeleton
    child_bone = child.build_skeleton(arm, bone_matrix, bone_size,
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2044, in build_skeleton
    child_bone = child.build_skeleton(arm, bone_matrix, bone_size,
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2044, in build_skeleton
    child_bone = child.build_skeleton(arm, bone_matrix, bone_size,
  [Previous line repeated 1 more time]
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 2047, in build_skeleton
    child_connect(bone, child_bone, None, connect_ctx)
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\import_fbx.py", line 1969, in child_connect
    if similar_values_iter(par_bone.tail, child_head):
  File "C:\Users\Pratik\Desktop\BlenderOSP\build_windows_Lite_x64_vc16_Release\bin\Debug\3.1\scripts\addons\io_scene_fbx\fbx_utils.py", line 268, in similar_values_iter
    if (v1 != v2) and ((abs(v1 - v2) / max(abs(v1), abs(v2))) > e):
ZeroDivisionError: float division by zero
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.Jan 4 2022, 11:45 AM
Garek (Garek) removed a project: BF Blender.Jan 26 2022, 6:15 AM