Array throwing error when exporting to fbx #68292
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#68292
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?
System Information
Operating system:
Graphics card:
Nvidia 2080ti
Blender Version
Broken: 2.8
Short description of error
Saving a complicated mesh with numerous unapplied arrays (I assume this is issue, based on what I observed adding arrays and based on the error message below) as a .blend file for use in Unity, I was getting an intermittent error message from Unity:
UNITY ERROR MESSAGE
Blender could not convert the .blend file to FBX file.
You need to use Blender 2.45-2.49 or 2.58 and later versions for direct Blender import to work.
Adding a few more arrays and now intermittent is always. I attempted to export as an fbx from Blender and I get the following error message:
BLENDER ERROR MESSAGE
FBX export fetch meshes (77)...
Traceback (most recent call last):
KeyError: ((nan, nan), 3)
location: :-1
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Added subscriber: @floatingfactory
Added subscriber: @lichtwerk
Do you have a .blend for us that shows the error upon FBX export?
(this ensures we are all on the same page -- when multiple devs are looking into this issue...)
cathedral.blend
Uploaded. Even after removing arrays the issue remains, so not sure about cause.
After removing all the arrays and recalculating all the UVs the error is gone and can export / open in Unity, in case that helps in finding the source of the issue,.
There seems to be just one object making problems:
Cylinder.001
(inWindows
>First Floor
collection) .This object has NaN location and near infinite negative scale...
Totally unsure how this got into such a state?
Anyways, if you remove that object, everything seems to be fine...
(it would be non-sense to safeguard all operators/exporters against such "invalid" objects, so this might very well be not considered a bug)
Would be interesting though if you would know how this could happen? Has this been edited with blender? (blenders tools?)
I’m not sure how it got into this state. Objects were not edited in anything except Blender 2.8 -- though saved and opened in Unity -- and I don’t recall doing anything particularly odd with it (created a UV map, added an array), but I’m new to 2.8. so more than possible it is some form of user error.
I redid every UV map throughout the project (without isolating the specific source of the problem) and that seems to have fixed it, so possibly UV related? Anyway, feel free to close if you think appropriate.
Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
Archiving, thanks for the report but we cannot do much about corrupted data, unless you can provide us with a clear and reproducible way to get such corruption...
Added subscriber: @AdamPreisler
I have the same problem. The issue is my file has ~6000 objects and I don't know of a way how to pinpoint which of them is causing this. :/
So by hiding halfs of the model I narrowed it down to this object after a while:
nan-nan.blend
Tried deleting UVs, clearing custom split data and still not sure what could it be.
Edit1: Found out that if I delete both UV maps it works. But the question is - what is wrong with the UV maps? They look fine.
Edit2: OK so I redid both UV maps again and now it can be exported. The original object had a bevel modifier on it. Wondering if that could cause this.
Here is blend with bevel: nan-nan_with-bevel.blend
Added subscriber: @Godfather-2
I know what's the the problem. I just found the solution. Some days ago i installed armory add ons in blender. So i uninstalled them and now i can save my fbx. So you can try to uninstall recently added addon in blender and try again.
Added subscriber: @Abru
also i am having this problem on my project, can you help me?
Old thread, still an existing problem.
So I had the same issue and found out, that if an UV Texture is applied to an object it can't be exported as a .FBX.
UV Maps though can be exported. I don't know when it creates an UV Texture and when an UV Map, but that sorted the problem for me.
Had the same issue, tried to export multiple objects as one FBX and some of these objects had no generated UV Maps.
Seems like all objects need to have UV Maps to export multiple objects to one FBX file.
I simply removed the objects without a UV Map and then I was able to export to FBX without a problem.