3D model is not exported in FBX format #105178

Closed
opened 2024-02-13 11:25:16 +01:00 by Emil-29 · 2 comments

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.23

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: FBX format (5, 8, 13)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier, @Mysteryem

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Python: Traceback (most recent call last):
File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx_init_.py", line 663, in execute
return export_fbx_bin.save(self, context, **keywords)
File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3627, in save
ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod)
File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3510, in save_single
fbx_objects_elements(root, scene_data)
File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3295, in fbx_objects_elements
fbx_data_light_elements(objects, lamp, scene_data)
File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 594, in fbx_data_light_elements
do_shadow = lamp.use_shadow
AttributeError: 'Light' object has no attribute 'use_shadow'

**System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.23 **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: FBX format (5, 8, 13) Author: Campbell Barton, Bastien Montagne, Jens Restemeier, @Mysteryem **Short description of error** [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] Python: Traceback (most recent call last): File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\__init__.py", line 663, in execute return export_fbx_bin.save(self, context, **keywords) File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3627, in save ret = save_single(operator, context.scene, depsgraph, filepath, **kwargs_mod) File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3510, in save_single fbx_objects_elements(root, scene_data) File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3295, in fbx_objects_elements fbx_data_light_elements(objects, lamp, scene_data) File "D:\Programs\Steam\steamapps\common\Blender\4.0\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 594, in fbx_data_light_elements do_shadow = lamp.use_shadow AttributeError: 'Light' object has no attribute 'use_shadow'
Emil-29 added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-02-13 11:25:16 +01:00
Member

I can't reproduce the issue locally with a .blend file that contains one of each light.

I'm not sure there should ever be a plain Light object, it should always be one of AreaLight, PointLight, SpotLight or SunLight, each of which do have a use_shadow attribute.

Could you provide a minimal .blend file that has this issue?

I can't reproduce the issue locally with a .blend file that contains one of each light. I'm not sure there should ever be a plain `Light` object, it should always be one of `AreaLight`, `PointLight`, `SpotLight` or `SunLight`, each of which do have a `use_shadow` attribute. Could you provide a minimal .blend file that has this issue?
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-14 02:19:38 +01:00
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-05-04 07:50:43 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#105178
No description provided.