Page MenuHome

FBX Import fails with long names
Closed, ResolvedPublic

Description

System Information
Operating system: Arch Linux
Graphics card: Intel HD 4400

Blender Version
Broken: 2.80 Beta (1fce0460d522, blender2.7, 2019-05-18)

Short description of error

When trying to import a FBX it fails with the below error.

./blender
Read prefs: /home/initia/.config/blender/2.80/config/userpref.blend
found bundled python: /home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/python
Info: Deleted 1 object(s)

FBX Import: start importing /home/initia/Unity/Projects/Project Flag/Assets/MCUnitychan/Models/MCunitychan.fbx
FBX version: 7500
	FBX import: Prepare...
		Done (0.000317 sec)

	FBX import: Templates...
		Done (0.000093 sec)

	FBX import: Nodes...
		Done (0.000383 sec)

	FBX import: Connections...
		Done (0.000604 sec)

	FBX import: Meshes...
		Done (0.007002 sec)

	FBX import: Materials & Textures...
		Done (0.002505 sec)

	FBX import: Cameras & Lamps...
		Done (0.000147 sec)

	FBX import: Objects & Armatures...
Traceback (most recent call last):
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/__init__.py", line 231, in execute
    return import_fbx.load(self, context, **keywords)
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 2735, in load
    _(); del _
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 2729, in _
    root_helper.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 2169, in build_hierarchy
    child.build_hierarchy(fbx_tmpl, settings, scene, view_layer)
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 2156, in build_hierarchy
    obj = self.build_node_obj(fbx_tmpl, settings)
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 1968, in build_node_obj
    blen_read_custom_properties(self.fbx_elem, obj, settings)
  File "/home/initia/Public/blender-2.80-1fce0460d522-linux-glibc224-x86_64/2.80/scripts/addons/io_scene_fbx/import_fbx.py", line 349, in blen_read_custom_properties
    blen_obj[prop_name] = fbx_prop.props[4]
KeyError: 'the length of IDProperty names is limited to 63 characters'

location: <unknown location>:-1

location: <unknown location>:-1

Exact steps for others to reproduce the error

  1. Open Blender
  2. File > Import > FBX
  3. Choose folder > Import FBX

Event Timeline

Please can you attach the FBX file you are having issues with?

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.

Looks like we dont support long names for IDProperties, but yeah, please provide the .FBX here so we can have a look...

Here is the FBX model I wanted to import.
Got it from here from the Unity Chan website, specifically here : MCUnitychan.
Available under UCL License.

Brecht Van Lommel (brecht) renamed this task from FBX Import fails to FBX Import fails with long names.
Brecht Van Lommel (brecht) raised the priority of this task from Needs Information from User to Needs Triage by Developer.
Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.

Classical stupid utf8/bytes length mismatch… ;)