FBX Export error if Lights are included #105485

Open
opened 2024-11-23 16:25:04 +01:00 by MK · 0 comments

System Information
Operating system: Linux amd64 - Debian 12
Graphics card: RTX 4060 Ti

Blender Version
Broken: 4.3.0
Worked: 4.2.3

Short description of error
Wont export FBX if it contains lights

Exact steps for others to reproduce the error
Create Empty Scene, Add Cube, Add Pointlight
File -> Export -> FBX
Save FBX
FBX will not get exportet if Object type Light is also selected

Python: Traceback (most recent call last): File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 3519, in save_single fbx_objects_elements(root, scene_data) File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 3301, in fbx_objects_elements fbx_data_light_elements(objects, lamp, scene_data) File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 595, in fbx_data_light_elements shadow_color = lamp.shadow_color ^^^^^^^^^^^^^^^^^ AttributeError: 'PointLight' object has no attribute 'shadow_color'

**System Information** Operating system: Linux amd64 - Debian 12 Graphics card: RTX 4060 Ti **Blender Version** Broken: 4.3.0 Worked: 4.2.3 **Short description of error** Wont export FBX if it contains lights **Exact steps for others to reproduce the error** Create Empty Scene, Add Cube, Add Pointlight File -> Export -> FBX Save FBX FBX will not get exportet if Object type Light is also selected `Python: Traceback (most recent call last): File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 3519, in save_single fbx_objects_elements(root, scene_data) File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 3301, in fbx_objects_elements fbx_data_light_elements(objects, lamp, scene_data) File "/opt/blender/4.3/scripts/addons_core/io_scene_fbx/export_fbx_bin.py", line 595, in fbx_data_light_elements shadow_color = lamp.shadow_color ^^^^^^^^^^^^^^^^^ AttributeError: 'PointLight' object has no attribute 'shadow_color' `
MK added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2024-11-23 16:25:05 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105485
No description provided.