FBX Export Empty File #49831
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#49831
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
Windows 10
NVIDIA GeForceGTX 1060 6GB
Blender Version
Broken: 2.7.8 4bb1e22
Short description of error
After exporting an object to fbx with the 'Selected Objects' option checked, the exported file does not contain any mesh info, and has a file size of 4kb.
Exact steps for others to reproduce the error
Select an object in the scene, then export to FBX with the 'Selected Objects' option checked.
test.blend
Changed status to: 'Open'
Added subscriber: @Rob62485
Added subscriber: @Sergey
@mon29, mind having a look? Thanks :)
Added subscriber: @PeterStaples
Had a quick look at this,
replacing
context.selected_objects
with
[o for o in context.scene.objects if o.select]
in export_fbx_bin.py line 3058
fixes (as a workaround) the error. For some reason context.selected_objects is returning an empty list on some occasions, especially after start up. This behaviour can also extend to the console, with C.selected_objects returning - [ ] with objects clearly selected.
Changed status from 'Open' to: 'Archived'
There is no bug here, in fact what happens is that your 3DView is disconnected from scenes' layers.
context.selected_objects
uses Scene's visibility of objects, obviously not some random 3DView one (and hidden objects are never considered as selected).