Bug when exporting an fbx project #107229
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107229
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug when exporting an fbx project
Hello I come to contact you today because I have a big problem that I can not solve.
I am doing a project on blender 3.2.0.
I received an error yesterday that told me "that certain uv didn't work" so I tried to search and I found the texture that gave me the error every time I added it.
So I decided to redo my whole project because this texture was part of my whole project and apart from deleting it I couldn't find anything that fixes it.
I just finished and I try to export in fbx, and I still find the same error but which is on another texture or other I don't know anymore if it's really the problem
Here is the error:
System Information
Operating system: Windows 11
Graphics card: 7900xt
Blender Version
Broken: 3.2
Worked: 3.2
Short description of error
Hello I come to contact you today because I have a big problem that I can not solve.
I am doing a project on blender 3.2.0.
I received an error yesterday that told me "that certain uv didn't work" so I tried to search and I found the texture that gave me the error every time I added it.
So I decided to redo my whole project because this texture was part of my whole project and apart from deleting it I couldn't find anything that fixes it.
I just finished and I try to export in fbx, and I still find the same error but which is on another texture or other I don't know anymore if it's really the problem
Here is the error:
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx_init_.py", line 638, in execute
return export_fbx_bin.save(self, context, **keywords)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3225, in save
ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3117, in save_single
fbx_objects_elements(root, scene_data)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2916, in fbx_objects_elements
fbx_data_mesh_elements(objects, me_obj, scene_data, done_meshes)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1164, 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 "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\fbx_utils.py", line 489, in elem_data_single_int32_array
return _elem_data_single(elem, name, value, "add_int32_array")
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\fbx_utils.py", line 436, in _elem_data_single
getattr(sub_elem, func_name)(value)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\encode_bin.py", line 145, in add_int32_array
data = array.array(data_types.ARRAY_INT32, data)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 1164, in
elem_data_single_int32_array(lay_uv, b"UVIndex", (uv2idx[uv_id] for uv_id in _uvtuples_gen(t_luv, t_lvidx)))
KeyError: ((-2.5870417858116992e+36, nan), 2387)
One of your meshes has a UV Map with invalid/corrupted UVs. There is an existing issue with some more information here: #102783
If you can provide the steps you used to create this invalid mesh, then Blender developers might be able to track down and fix what is causing the UVs to become invalid/corrupted. If you can determine when your scene goes from being able to be exported as FBX to not being able to be exported as FBX that would be very helpful. If you can provide any of this information, I recommend you send it in the existing #102783 issue.
This is a script I copied from another duplicate of this issue. If you copy and paste the script into Blender's Text Editor and run it, it will fix all mesh objects in your .blend file and print which ones had to be fixed into the System Console:
Closing as duplicate of #102783, feel free to subscribe there.