1
$\begingroup$

I'm trying to export a low poly mesh and its rig as an FBX file. But when I hit export it spits out this error:

  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\__init__.py", line 634, in execute
    return export_fbx_bin.save(self, context, **keywords)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3198, in save
    ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3094, in save_single
    fbx_objects_elements(root, scene_data)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2894, in fbx_objects_elements
    fbx_data_mesh_elements(objects, me_obj, scene_data, done_meshes)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1174, in fbx_data_mesh_elements
    elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv_id] for uv_id in _uvtuples_gen(t_luv, t_lvidx)))
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\fbx_utils.py", line 504, in elem_data_single_int32_array
    return _elem_data_single(elem, name, value, "add_int32_array")
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\fbx_utils.py", line 451, in _elem_data_single
    getattr(sub_elem, func_name)(value)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\encode_bin.py", line 161, in add_int32_array
    data = array.array(data_types.ARRAY_INT32, data)
  File "E:\Blender\2.83\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1174, in <genexpr>
    elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv_id] for uv_id in _uvtuples_gen(t_luv, t_lvidx)))
KeyError: ((nan, nan), 43)

location: <unknown location>:-1

I have tried reinstalling Blender

$\endgroup$
3
  • $\begingroup$ The first (bottom) error suggests there are errors in the UV map. Is it unwrapped? Are there perhaps vertices that aren't unwrapped? $\endgroup$ – Ron Jensen Aug 8 '20 at 20:07
  • $\begingroup$ hold up let me check $\endgroup$ – Give Lightningstrike Pls Aug 8 '20 at 20:13
  • $\begingroup$ You just saved me! :) and im goinh to kill my texture artist lol $\endgroup$ – Give Lightningstrike Pls Aug 8 '20 at 20:32
1
$\begingroup$
 <genexpr>
    elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv_id] for uv_id in _uvtuples_gen(t_luv, t_lvidx)))
KeyError: ((nan, nan), 43)

The first (bottom) error suggests there are errors in the UV map. Try recreating the UV map. The FBX export module requires a valid UV unwrapping for all vertices in the model. Go into the UV Unwrap tab and re-unwrap your model(s).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.