Blender exporter (4.3.5) broken?

MSFS Version: 1.5.27.0
SDK Version: 1.4.5
Blender Export Version: 4.3.5
Blender Version: 3.6.18

Frequency: Consistently

Severity: Blocker

Bug description:
Just updated to the latest SDK (See above) and the latest Blender Exporter (See above) - Now when I export I only get an XML file - no .gltf or .bin + no texture export.

Repro steps:
For me - just open a new scene and create an object with a texture and try to Export (I’m also sending you my blender test-file so you can try that one)

I have written with Boris about it here:

Hello,

What’s your blender version ?
Any error mesage in the blender console window after exporting ?

Regards,
Boris

Hi Boris, thanks for the reply…
I’m using Blender 3.6.18

And here is the pretty long console message - Hope it makes some kind of sense to you !?

Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"
Reloading external rigs...
Reloading external metarigs...
register_class(...):
Warning: 'UnityMecanim_Panel' does not contain '_PT_' with prefix and suffix
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
init
Read blend: "C:XXX\3D\TESTCUBE.blend"
init
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glLineWidth' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glDisable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glDisable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glLineWidth' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
Create blend file copy C:XXX\3D\959860f0b1ad.blend
Info: Saved "959860f0b1ad.blend"
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:2662 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. In Blender 4.0 'bgl' will be removed.

Switching to fully guarded memory allocator.

Blender 3.6.18 (hash 825978fc838c built 2024-11-19 01:57:46)

Blender 3.6.18

Build: 2024-11-19 01:57:46 Windows Release

argv[0] = C:\Program Files\Blender Foundation\Blender 3.6\blender.exe

argv[1] = C:XXX\3D\959860f0b1ad.blend

argv[2] = --background

argv[3] = --addons

argv[4] = io_scene_gltf2_msfs_2024

argv[5] = --python-expr

argv[6] = try:

        import bpy

        import traceback

        bpy.ops.msfs2024.multi_export_gltf(export_mode='OBJECTS', called_in_subprocess=True)

except:

        traceback.print_exc()

print('[SUBPROCESS][ERROR]')

argv[7] = --debug

argv[8] = 0

Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"

Warning: 'UnityMecanim_Panel' does not contain '_PT_' with prefix and suffix

Traceback (most recent call last):

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 369, in enable

    mod.register()

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Animation_Layers\__init__.py", line 237, in register

    km = kc.keymaps.new(name= 'NLA Generic', space_type= 'NLA_EDITOR')

AttributeError: 'NoneType' object has no attribute 'keymaps'

Error: Registering panel class: parent 'GLTF_PT_import_user_extensions' for 'MSFS2024_PT_importer_panel' not found

Reloading external rigs...

Reloading external metarigs...

register_class(...):

Warning: 'UnityMecanim_Panel' does not contain '_PT_' with prefix and suffix

animation_layers_updater addon: Verbose is enabled

animation_layers_updater addon: Read in JSON settings from file

Exception in module register(): C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Animation_Layers\__init__.py

init

init

Traceback (most recent call last):

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 321, in export

    gltf = self.export_blender_3_6(context, file_path, settings)

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 167, in export_blender_3_6

    return bpy.ops.export_scene.gltf(

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy\ops.py", line 113, in __call__

    ret = _op_call(self.idname_py(), None, kw)

AttributeError: Calling operator "bpy.ops.export_scene.gltf" error, could not be found

Traceback (most recent call last):

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 321, in export

    gltf = self.export_blender_3_6(context, file_path, settings)

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 167, in export_blender_3_6

    return bpy.ops.export_scene.gltf(

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy\ops.py", line 113, in __call__

    ret = _op_call(self.idname_py(), None, kw)

AttributeError: Calling operator "bpy.ops.export_scene.gltf" error, could not be found

[TEXTURELIB] New TextureLib generation started at 2025-09-01 13:55:03.738891

[TEXTURELIB] Operation completed in 0.0

Export finished in 0:00:03.504475
Info: Export Completed

Can you make sure that you have only the MSFS2024 exporter enabled and not the MSFS2020 one.
Also can you disable unity mecanim (I thing the addon is caled Rigify) as it gives you some errors at the export and it could prevent the export working properly.

If you still have the issue, we will need your .blend file to investigate further. See How to report a bug or crash.

Regards,
Boris

Hi again Boris…
This is the console message with only the 2024 exporter enabled, and Rigify disabled.
I will also report it as a bug, and send you the file so you maybe can take a look…

Thanks again..

Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"
animation_layers_updater addon: Verbose is enabled
animation_layers_updater addon: Read in JSON settings from file
init
Read blend: "C:\XXX\3D\TESTCUBE.blend"
init
Create blend file copy C:\XXX\3D\ad546ec5d12e.blend
Info: Saved "ad546ec5d12e.blend"
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:2662 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. In Blender 4.0 'bgl' will be removed.

Traceback (most recent call last):

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 369, in enable

    mod.register()

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Animation_Layers\__init__.py", line 237, in register

    km = kc.keymaps.new(name= 'NLA Generic', space_type= 'NLA_EDITOR')

AttributeError: 'NoneType' object has no attribute 'keymaps'

Switching to fully guarded memory allocator.

Blender 3.6.18 (hash 825978fc838c built 2024-11-19 01:57:46)

Blender 3.6.18

Build: 2024-11-19 01:57:46 Windows Release

argv[0] = C:\Program Files\Blender Foundation\Blender 3.6\blender.exe

argv[1] = C:\XXX\3D\ad546ec5d12e.blend

argv[2] = --background

argv[3] = --addons

argv[4] = io_scene_gltf2_msfs_2024

argv[5] = --python-expr

argv[6] = try:

        import bpy

        import traceback

        bpy.ops.msfs2024.multi_export_gltf(export_mode='OBJECTS', called_in_subprocess=True)

except:

        traceback.print_exc()

print('[SUBPROCESS][ERROR]')

argv[7] = --debug

argv[8] = 0

Read prefs: "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"

Error: Registering panel class: parent 'GLTF_PT_import_user_extensions' for 'MSFS2024_PT_importer_panel' not found

animation_layers_updater addon: Verbose is enabled

animation_layers_updater addon: Read in JSON settings from file

Exception in module register(): C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Animation_Layers\__init__.py

init

init

Traceback (most recent call last):

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 321, in export

    gltf = self.export_blender_3_6(context, file_path, settings)

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 167, in export_blender_3_6

    return bpy.ops.export_scene.gltf(

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy\ops.py", line 113, in __call__

    ret = _op_call(self.idname_py(), None, kw)

AttributeError: Calling operator "bpy.ops.export_scene.gltf" error, could not be found

Traceback (most recent call last):

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 321, in export

    gltf = self.export_blender_3_6(context, file_path, settings)

  File "C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_gltf2_msfs_2024\io\exp\msfs_multi_export.py", line 167, in export_blender_3_6

    return bpy.ops.export_scene.gltf(

  File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\bpy\ops.py", line 113, in __call__

    ret = _op_call(self.idname_py(), None, kw)

AttributeError: Calling operator "bpy.ops.export_scene.gltf" error, could not be found

[TEXTURELIB] New TextureLib generation started at 2025-09-01 15:36:58.120669

[TEXTURELIB] Operation completed in 0.0

Export finished in 0:00:02.505489
Info: Export Completed

MSFS Version: 1.5.27.0
SDK Version: 1.4.5
Blender Export Version: 4.3.5
Blender Version: 3.6.18

Frequency: Consistently

Severity: Blocker

Bug description:
Just updated to the latest SDK (See above) and the latest Blender Exporter (See above) - Now when I export I only get an XML file - no .gltf or .bin + no texture export.

Repro steps:
For me - just open a new scene and create an object with a texture and try to Export (I’m also sending you my blender test-file so you can try that one)

I have written with Boris about it here:

You are most likely missing the “default” export preset setting, and or a folder to export to.–

this happens to me when you open Blender and have not set this up yet.

After settings are done correctly

Good suggestion @DA40CGDFQ, thanks - but unfortunately that was not it…

posting your blend file would help ASOBO.

I am concerned with this error message
AttributeError: Calling operator “bpy.ops.export_scene.gltf” error, could not be found

are you sure you did NOT disable the core khronos gltf

I get that error if i disable the core Khronos export addon

enable it.

Hi again @DA40CGDFQ - you where right… When trying to fix the issue I actually tried turning the “khronos gltf” off…

But… even with it turned back on = No joy .. Still the same issue .

I have created a bug, and send the Blender file to be looked at… Hopefully they can find a solution.

Or maybe you where somewhat right @DA40CGDFQ … After I turned the ‘khronos gltf’ back on - AND re-started Blender - (of course) I now get .gltf and the .bin files :+1:

But… Still NO texture export…??

But thanks @DA40CGDFQ for getting me a bit closer :flexed_biceps:

@Boris It’s getting a bit weirder…
If I try to re-export one of the props in my ‘Kev-Library’ - I can get an export - with textures.. if I …

  1. select the object in the ‘Outliner’ and..
  2. only have a Base texture (so first deleting the Metallic and Normal texture)??

Hrmmm … weird, right??

Hello,

For some reasons (and we are not sure why, it could be a previous conflict with another plugin) it seems the issue is coming from your preset.

Delete it and create a new one. This is what I have done with the blender sample you sent me earlier and I was then able to export gltf and textures.

Also be sure firt to clean your ununsed / invalid textures, there was one in the file you sent me keeping me from exporting the albedo.

→ Moved the topic back into [MSFS 2024] Questions & Community Discussions as after debugging we found that this was not related to the MSFS exporter plugin


Hello @DA40CGDFQ ,
Did you have the issue since SU3 ? I heard we fixed an issue like this one.
Can you let me know if it’s the case please ?

Thank you

Regards,
Boris

@Boris

This is a problem for a while, however it is intermittent, And only on setting up a new blend file. After the default is set it is never an issue on the project.

I assume it’s because of the me enabling and disabling 2020, 2024 exporter. And due to having the the background process. Sometimes this stays open after closing blender.

It’s not a high level issue for me. I just have to remember to set all the settings at the start of a new blend file.

Please concentrate on the Blender 4.2 - textures not being deleted from the model folder and adjusting the exporter for Blender 4.5 LTS (numerous Blender/Khronos breaking changes - renaming py files, and the NLA/Action issue I described to Khronos git issues) Those are the only real big issues for me. The exporter seems to work nicely now. Thanks for the good work there.

@Boris … Thanks a lot for the help, Boris - I actually had to do a complete clean install of Blender to make it work, but now everything is back to normal.

@DA40CGDFQ … Thanks for helping out here

Hello @Boris

Kinda facing a big issue here atm.

So today I updated to the latest version of the plugin and the SU4 SDK. I was struggling with getting the export to work and couldn’t figure out why. At first the .bin didn’t export which means no changes I made where visible in the sim.

After 2 hours of tinkering, multiple plugin re-installs later and also blender restarts nothing seems to have worked and I am unable to export from my .blend file that worked fine yesterday evening with the old exporter.

I now made a new blend file and tried to export from there and the new empty blend file works fine.

Now back in my blend file I actually want to export and now the .bin is exporting but the gltf isn’t anymore. However, as mentioned above, all 3 (bin, gltf, and XML) files are exporting fine from a new .blend file.

Any tips on how I can resolve this? It is a groundpoly file and I cannot simply make a new .blend file. I need this to work again from this very .blend file that worked fine yesterday. I am completely lost. Any tips would be appreciated

for more context, addon wise and setup wise the current file that doesn’t work and the new blend file are setup identically


as you can see the asphalt layer doesn’t export, but now the .bin does which it didn’t an hour ago

here is a test export form a new .blend file

Everything is there. I suspect that the default profile is also corrupted for me in this blend file? Is there a way to get this default profile to work again?

Also a custom preset which I just created doesn’t work. Here, it only exports the bin and no XML or gltf
image

I now copied back the old GLTF which successfully exported yesterday evening. With that in it now overwrites the old one so I now have all 3 files back.
image
however, when I now tried to build it I get this error. Funnily enough only for this layer and all the other layers are fine

I also tried to delete the .bon again (since the exporter does now generate bins in this file, in order to overwrite the old one because the bin has a byte request mismatch. But even with the new bin it still gives me the same error.

EDIT

So i now manually copied in the byte size from the layer0 bin into the gltf and now got an error for another layer. Then I realised all the gltf have a byte mismatch compared to their bin file. I don’t know what’s going on and I can’t work. I would really appreciate help as I don’t know what to do anymore. Here an example of layer 10, which give me an error now. But like I said all the gltfs have a byte mismatch, presumable because they are overwriting old gltf, but not exporting correctly as previously stated. If I delete all the old gltfs no new ones are generated…

Hello,
Please avoid hijacking topics that are not directly related to your issue.

You need to create a dedicated bug report if you think this is it or create a topic in the Questions section, fill out the template (for the bug report, with blender version etc), and send us your Blender project so we can investigate.

Regards,
Boris

Well it is directly related because it is more or less the same issue. I didn’t “hijack” it, I posted it here on purpose because I wanted to avoid making a new separate report for more or less the same issue… - the exporter not exporting gltfs and .bins as explained by the OP…

But hey if you want I can do so…