New Blender Addon breaks the lights

Version: 1.1.10.0

Frequency: Once/Rarely/Frequently/Consistently

Severity: Blocker

**Context:**2024 Lights are now exported with (KHR Lights Punctual) extension which is not supported by MSFS and causes an error when building the projects

Bug description:
2024 Lights are now exported with (KHR Lights Punctual) extension which is not supported by MSFS and causes an error when building the projects

Repro steps:

Export a 2024 Light created in blender

2 Likes

yes, it’s true. :man_shrugging:

right, no joy, better to stay with the fixed old one at the moment

yasmine can you please keep a consistent versioning? current 1.3.1 feels 2020’s github exporter , thanks!

Hello @here,

This will be fixed in the next SDK update.

In the meantime, for those who can’t wait:

  1. Close Blender

  2. Open the file:
    C:\MSFS 2024 SDK\Tools\Blender\addons\io_scene_gltf2_msfs_2024\io\com\msfs_light_extensions.py

  3. Replace the code at line 88 with:

    quat_a = Quaternion((1.0, 0.0, 0.0), angle)
    

Let me know if it’s better.

Thank you

Regards,
Boris

6 Likes

Working, TKS

1 Like