Maniphest T94007

FBX Import fails in 3.0
Closed, Duplicate

Assigned To
None
Authored By
Jan-Erik (JanErik)
Dec 13 2021, 9:50 AM
Tags
  • BF Blender
Subscribers
Jan-Erik (JanErik)
Paolo Acampora (pkrime)
Philipp Oeser (lichtwerk)
Pratik Borhade (PratikPB2123)

Description

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA TITAN RTX/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Worked: (newest version of Blender that worked as expected)

Short description of error
FBX Import failed, tried the same FBX on the last stable 2.93 and there were no problems

FBX version: 7500
Python: Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
  if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 2600, in load
  _(); del _
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 2599, in _
  fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 1296, in blen_read_geom
  blen_read_geom_layer_uv(fbx_obj, mesh)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 1048, in blen_read_geom_layer_uv
  uv_lay = mesh.uv_layers.new(name=fbx_layer_name, do_init=False)

RuntimeError: Error: Cannot add more than 8 UV maps

Exact steps for others to reproduce the error
I guess i cant link the FBX here, but maybe the error message could help.

Related Objects

Mentioned Here
rB7c4fc5b58d2e: Fix T93541: Use warning instead of error for exceeding layer limits
T93541: Blender 3.0 cannot import FBX (containing more than 8 UV layers)

Event Timeline

Jan-Erik (JanErik) created this task.Dec 13 2021, 9:50 AM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Dec 13 2021, 9:54 AM

This has been reported before, see T93541: Blender 3.0 cannot import FBX (containing more than 8 UV layers), will merge these reports.
(Good News: it is fixed already)

Philipp Oeser (lichtwerk) closed this task as a duplicate of T93541: Blender 3.0 cannot import FBX (containing more than 8 UV layers).Dec 13 2021, 9:54 AM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).EditedDec 13 2021, 9:55 AM

Hi, thanks for the report This is resolved in master and will be backported to corrective release: rB7c4fc5b58d2e7982aefbba093cb8f1dc36b64884

Will merge your report in T93541: Blender 3.0 cannot import FBX (containing more than 8 UV layers)


(ignore my comment)

Jan-Erik (JanErik) added a comment.Dec 13 2021, 10:13 AM

oh sorry, i overlooked this other report

Paolo Acampora (pkrime) added a subscriber: Paolo Acampora (pkrime).Jan 4 2022, 6:16 PM

just in case, here is a quickfix to let pre-corrective blender 3.0 import the .fbx,

Replace

C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py

the path may vary according to the OS and the custom install, just look at the error message to find the .py

cheers,
p.