• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Problems to export in blender model with blender2msfs

Messages
9
Country
spain
Hello everyone, I have a problem with my blender, when exports any models for use in msfs, the blender not create the files gltf and bin when use blender2msfs toolkit, I'm use version blender 2.93.5 I too used versions LTS, but, continues the problems. I feel very sad
 
Did the exports work before this time? Which version of the blender2msfs are you using? Does blender2msfs create the .xml file but not the .gltf and .bin files? I am using Blender 2.93.1. Did this start when you upgraded to Blender 2.93.5? I will try some experiments later.
 
I don't know in which version the problem started, just that one day I wanted to export my model and I don't export the Gltf and bin files, only the XML, in order to export the Gltf and bin I have to disable Blender2msfs-toolkit and use the built-in Blender exporter of Gltf 2.0 to have those files, but I can't work like that because it removes the texture settings for MSFS, I use version 0.4.0 of Blender2msfs-toolkit downloaded from here, I have changed the version of Blender and nothing remains the same
 
This happened to me when I was changing the Toolkit code to fix the LOD Batch Export function. I had installed new versions of the toolkit, but I had not removed completely all old versions. Maybe that is the problem here since changing versions of Blender makes no difference. You uninstall the Toolkit through the Preferences/AddOns menu. Click the triangle next to the toolkit name, and you will see Uninstall. I use version 0.41.3, a version with some improvements that is now maintained by mikea.at. The latest version can be found at: https://github.com/tml1024/Blender2MSFS2. It was just updated to 0.41.4 on 1 November. HTH
 
I followed the instructions and it still follows the same problem, I try to export the cube that has blender by default and nothing, install blender on another computer and the same, turn off the antivirus and still nothing, only the XML file and when I try to use the Gltf export to have the missing files I get this error, and it is solved by disabling Blender2MSFS

Error Gltf 2.0:

Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\__init__.py", line 626, in execute
return gltf2_blender_export.save(context, export_settings)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 46, in save
json, buffer = __export(export_settings)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 66, in __export
json = __fix_json(exporter.glTF.to_dict())
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\io\com\gltf2_io.py", line 1191, in to_dict
result["asset"] = to_class(Asset, self.asset)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\io\com\gltf2_io.py", line 66, in to_class
return x.to_dict()
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\io\com\gltf2_io.py", line 427, in to_dict
result["extensions"] = from_union([lambda x: from_dict(from_extension, x), from_none],
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\io_scene_gltf2\io\com\gltf2_io.py", line 56, in from_union
assert False
AssertionError

location: <unknown location>:-1
 
I'm lost now. I never had anything like this. You have tried many things. Anybody else have any ideas? I will experiment some more later today, but I don't think I will find anything.
It looks like the problem is with the Toolkit itself. Sorry I cannot help more. I, too, am not happy.
 
hello! I have already found the problem, it is the Batch export Lods option I have deactivated it and it already exports normal, I have not tried how that option affects the game, I do not work with Lods I only export my model with the original resolution
 
I'm lost now. I never had anything like this. You have tried many things. Anybody else have any ideas? I will experiment some more later today, but I don't think I will find anything.
It looks like the problem is with the Toolkit itself. Sorry I cannot help more. I, too, am not happy.
hello! I have already found the problem, it is the Batch export Lods option I have deactivated it and it already exports normal, I have not tried how that option affects the game, I do not work with Lods I only export my model with the original resolution
 
Aha! Yes, the original batch export did not work. I made a mod that makes it work now, and it's only available in the later toolkit version I linked before: https://github.com/tml1024/Blender2MSFS2. Version 0.40.0 only works on one model at a time. Version 0.41.4 is the latest, and it also includes some texture fixes. Sorry I didn't catch that at first - you did say that you were using the original version.
I use the batch export only once to export all my LODs at once and make the .xml file (which I then edit for the min-size values). Then, I turn it off and edit each LOD model separately as needed. You are then exporting only one file. It's tricky and somewhat complicated, but it gets the job done.
You are going to have to work with LODs at some point, though. I expect a requirement for at least 4 LODs to be mandatory some time in the future. I now make all my models with 4 LODs. I make bridges, and there's no reason to have a gigantic bridge have 200,000 faces when viewed from 20 miles. I have some giant bridges that have 12 faces at the lowest LOD.
Sorry for all the confusion on my part originally.
Glad you're working now.
 
Hello everyone. I also have problems with exporting blender files to .gITF (MSFS). I use Blender 4.0, I have MSFSToolkit installed and I had Microsoft Flight Simulator gITF Extension installed. In the MSFS Material Params options, the one corresponding to Albedo does not appear, only from Base Color and so on. Even when I entered the corresponding materials in the other fields, when exporting it turned out that only the .xml file was created.
I have tried uninstalling and reinstalling, uninstalling and reinstalling Blender, uninstalling version 4.0 and installing previous ones, and it doesn't work in any of them.
Now I have returned to Blender 4.0 and only with MSFSToolkit, when selecting the MSFS Standard option it does not offer me any more options, so I cannot enter the materials.
If I reinstall Microsoft Flight Simulator gITF Extension I get an error when checking the box.
I do not know what to do. Can you help me? I leave you some screenshots.
Captura de pantalla 2024-03-03 145521.png

Captura de pantalla 2024-03-03 145019.png

Captura de pantalla 2024-03-03 145238.png

Captura de pantalla 2024-03-03 145247.png
 
Hello everyone. I also have problems with exporting blender files to .gITF (MSFS). I use Blender 4.0, I have MSFSToolkit installed and I had Microsoft Flight Simulator gITF Extension installed. In the MSFS Material Params options, the one corresponding to Albedo does not appear, only from Base Color and so on. Even when I entered the corresponding materials in the other fields, when exporting it turned out that only the .xml file was created.
I have tried uninstalling and reinstalling, uninstalling and reinstalling Blender, uninstalling version 4.0 and installing previous ones, and it doesn't work in any of them.
Now I have returned to Blender 4.0 and only with MSFSToolkit, when selecting the MSFS Standard option it does not offer me any more options, so I cannot enter the materials.
If I reinstall Microsoft Flight Simulator gITF Extension I get an error when checking the box.
I do not know what to do. Can you help me? I leave you some screenshots.
From Github: "The version 1.3.x is only compatible with Blender 3.3.x LTS. Other versions are not supported."

If someone is able to get the exporter to work in 4.0 then maybe they can chip in here with some more advice but everything I have seen has shown that you should use Blender 3.3
 
Hello, I suggest read the readme filof for v1.3.x. Asobo's addon for Blender and follow the install directions for it.
 
Back
Top