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
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.
Yes during dev mode - I don’t even have a project open, however I am exporting from blend. Don’t think that is why, it’s just happening at random. I did do a cold boot of my computer.
For the past couple hours it has not happened since.