Error when export in fbx

Hi :slight_smile:

I’m starting using Blender and I want to export in fbx format for Unity. I have this error when I try to export.

Traceback (most recent call last):
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 636, in execute
    return, context, **keywords)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 3198, in save
    ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 3094, in save_single
    fbx_objects_elements(root, scene_data)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 2894, in fbx_objects_elements
    fbx_data_mesh_elements(objects, me_obj, scene_data, done_meshes)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", 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 "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 504, in elem_data_single_int32_array
    return _elem_data_single(elem, name, value, "add_int32_array")
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 451, in _elem_data_single
    getattr(sub_elem, func_name)(value)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", line 161, in add_int32_array
    data = array.array(data_types.ARRAY_INT32, data)
  File "D:\SteamLibrary\steamapps\common\Blender\2.90\scripts\addons\io_scene_fbx\", 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), 59)

location: <unknown location>:-1

I can’t find any value that is not a number. Thx for your help.

The file if it helps : untitled.blend (2.5 MB)

  1. Not one object has a proper scale…select all and Ctrl-A and apply scale/rotation.
  2. The UV is a mess and vertices are out of bounds, UN wrap this again using Smart UV project.

After these problems are fixed it will export as FBX