Page MenuHome

Export fbx from Maya and import to blender.
Needs Information from User, NormalPublic

Description

When I export FBX from Maya and import it to blender. There is some error that happened when I selected Import User Properties in the import panel. This error will cause materials and textures lost in FBX files.

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\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 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2813, in load
  _(); del _
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2807, in _
  root_helper.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2242, in build_hierarchy
  child.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2233, in build_hierarchy
  child.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2229, in build_hierarchy
  obj = self.build_node_obj(fbx_tmpl, settings)
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 2041, in build_node_obj
  blen_read_custom_properties(self.fbx_elem, obj, settings)
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_scene_fbx\import_fbx.py", line 331, in blen_read_custom_properties
  prop_name, prop_value = item.split('=', 1)

ValueError: not enough values to unpack (expected 2, got 1)

location: <unknown location>:-1

Event Timeline

肖行武 (xxwlzfb) renamed this task from export fbx from Maya and import to blender. to Export fbx from Maya and import to blender..Aug 10 2020, 1:08 PM
肖行武 (xxwlzfb) created this task.
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Aug 10 2020, 1:55 PM

Please provide the FBX file that causes this, thx.

Please provide the FBX file that causes this, thx.

Sorry. FBX files are absolutely secret. So I can't provide it.

Seems like there is a '=' missing in the definition of that custom property from Maya.
Can you try to export something sharable [Cube, whatever...] with such a custom property on it from Maya and see if that also fails?

If we cannot get our hands on something reproducable, I am afraid there is no way we can help.

Are you exporting morph targets from Maya and trying to import them into Blender? This can cause that error and prevent materials from being linked in your fbx import.