[2024] SU1 Beta Exporter 2.3.2 - Does not work in 4.2 due to breaking change in Blender node socket structure

Version: *1.3.22.0 SDK 1.2.3 Blender Exporter 2.3.2

Frequency: Consistently*

Severity: High/Blocker* for 4.2
(Low - quality of life, workflow optimization, rare enough to not impact production, etc…
High - critical but workarounds are available, important feature not working as expected, frequent enough to impact production
Blocker - prevents from working on the project, prevents from releasing the product)

Marketplace package name: if applicable

Context: What package? When editing or mounted from Community? In main menu or in flight? etc…

Similar MSFS 2020 issue: insert url here if applicable

Bug description:

The ASOBO exporter does not take into account the new Blender node socket structure in the export image code in msfs_material_extensions.py.

The temp nodes must use the node socket. This was taken into account in another part of the code, but not in the extension export part. This basically renders the exporter useless for Blender 4.2.x LTS.

You get the following error.

10:59:40 | ERROR: Extension hook gather_material_hook fails on bl_ext.user_default.gltf_exporter_extension_2024
10:59:40 | ERROR: 'NodeSocketColor' object has no attribute 'socket'
10:59:40 | WARNING: The active Vertex Color will not be exported, as it is not used in the node tree of the material
10:59:40 | INFO: Primitives created: 1

Repro steps:

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content

Hello @DA40CGDFQ

Can you confirm this is fixed with the blender exported 2.3.3 from the SDK 1.2.4 ?

Regards,
Boris

No it is not fixed, for Blender 4.2. You need to change how you do the temp nodes. It should be changed to a temporary material. I have done this in my version, and works. The texture info is retrieved correctly.

Edit: seems I am incorrect, adding a fake temp material does not work.

The Day/night cycle for lights and emission material does not work inside the Sim, even if they are enabled in Blender

This happens in Blender-4.2.7 and MSFS exporter - 2.2.17

First 2.2.17 is my git version for the ASOBO exporter 2020, not 2024.

Second - Don’t use this devhub site to report issues with my version. - use my git issues where you downloaded it from.

Third - please don’t add a bug report to my bug report that has no relation to what you are reporting. Make your own report Please and Thank you.

1 Like