Page MenuHome

FBX camera import fails with assert(fbx_props[0] is not None)
Closed, ResolvedPublic

Description

System Information
Mac OS 10.13.6
Intel Iris Pro 1536 MB

Blender Version
Version 2.79 (2.79 2017-09-11, Blender Foundation)
FBX 3.9.1

Short description of error
I've have written an program using Autodesk's FBX sdk. The FBX I've written includes a single animated camera. I'm able to import it into Maya, but hit this traceback down below. As I'm writing the FBX myself, if I can figure out what exactly Blender expects, I may be able to provide it. I see the importer is looking for "Properties70", but I'm not clear what those are.

Also, when I remove the assertion, the import completes successfully.

Traceback (most recent call last):
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/__init__.py", line 234, in execute
    return import_fbx.load(self, context, **keywords)
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2543, in load
    _(); del _
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2542, in _
    fbx_item[1] = blen_read_camera(fbx_tmpl, fbx_obj, global_scale)
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 1449, in blen_read_camera
    assert(fbx_props[0] is not None)
AssertionError

Exact steps for others to reproduce the error
Import the attached fbx, not the traceback in the terminal.