• 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.

Cannot load in custom model

Messages
5
Country
germany
Hello, I export my model from blender using the Asobo exporter. Everything works fine but when I try to load my model inside MSFS using the “fspackagetool.exe” I get this errors does anybody know why?
Error: project XML: C:\MSFS Whaley\My Projects\fushi-sun-siyam\fushi-sun-siyam.xml
temp dir: C:\MSFS Whaley\My Projects\fushi-sun-siyam
output dir: C:\MSFS Whaley\My Projects\fushi-sun-siyam
PackageBuilder | Reading C:\MSFS Whaley\My Projects\fushi-sun-siyam\fushi-sun-siyam.xml…
PackageBuilder | Preparing asset groups…
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | Generating commands for package vtmagroup-airport-airf-iru-fushi…
PackageBuilder | Preparing commands for asset group ContentInfo…
PackageBuilder | Preparing commands for asset group scenery…
PackageBuilder | Preparing commands for asset group Sun-Siyam-Iru-Fushi-ModelLib…
used extension not supported: KHR_materials_specular
used extension not supported: KHR_materials_ior
glTFLister | Model texture not found in the texture directories: ‘Plaster001_2K-JPG_Color White.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Plaster001_2K-JPG_Roughness White.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Plaster001_2K-JPG_NormalDX White.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks012_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks012_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks012_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Asphalt029A_2K-JPG_Color Red.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Asphalt029A_2K-JPG_Roughness Red.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Asphalt029A_2K-JPG_NormalDX Red.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood073_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood073_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood073_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘No Smok.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Iru Fushi Maruhaba.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks018_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks018_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Planks018_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Metal032_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Metal032_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Metal032_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood077_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood028_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Wood028_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘PaintedMetal002_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘PaintedMetal002_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘PaintedMetal002_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘PaintedMetal002_2K-JPG_Metalness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘WoodSiding010_2K-JPG_Color.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘WoodSiding010_2K-JPG_Roughness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘WoodSiding010_2K-JPG_NormalDX.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘tire_texture_color_2k.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Tire_Texture_roughness_2k.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘texture_tire_normal_2k.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Concrete042A_4K-JPG_Color Grey.png’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Concrete042A_4K-JPG_Roughness Grey.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
glTFLister | Model texture not found in the texture directories: ‘Concrete042A_4K-JPG_NormalDX Grey.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
Failed to find asset group where the given path is located C
PackageBuilder | Could not find asset group for file C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.bin
PackageBuilder | Ready, 6 commands added.
PackageBuilder | Listing took 0s015ms.
PackageBuilder | Starting the build…
PackageBuilder | Build package vtmagroup-airport-airf-iru-fushi …
PackageBuilder | Building assets for the package vtmagroup-airport-airf-iru-fushi…
Compiling BGL file from in-memory data to output file PackageSources.BGL…
INTERNAL COMPILER ERROR: #C2965: GLTF : XML version is invalid! (valid versions are : 1.1)
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x80004005)
INTERNAL COMPILER ERROR: #C2340: Failed to finalize MODEL_DATA!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR:
ERROR: <GLTFData
ERROR: sourceFile = C:\MSFS Whaley\My Projects\fushi-sun-siyam_PackageInt_tempFiles\vtmagroup-airport-airf-iru-fushi\Sun-Siyam-Iru-Fushi-ModelLib\Scenery\airport-airf-iru-fushi\scenery\AIRF.xml
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag near line 2!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x 0)
PackageBuilder | Output path does not exist: C:\MSFS Whaley\My Projects\fushi-sun-siyam\Packages\vtmagroup-airport-airf-iru-fushi\Scenery\airport-airf-iru-fushi\Sun-Siyam-Iru-Fushi-ModelLib\PackageSources.BGL
PackageBuilder | Skip mirroring due to command failures.
PackageBuilder | Skip generation of package information due to command failures.
PackageBuilder | Finished, 7 skipped, 0 done and 1 failed, took 0s047ms. Failed: vtmagroup-airport-airf-iru-fushi/Sun-Siyam-Iru-Fushi-ModelLib - Command class AssetBuilder::BGLCompilerCommand_G

It worked one time on one model but not anymore.

Maybe If you guys need it I can send you some pictures of my directory.
 
First thing, check your settings in the Asobo exporter.

The "Textures" setting will determine the relative path to the textures folder. I have mine set to "..\texture". It looks like the texture path is not set correctly which is why you are getting the "Model texture not found in the texture directories" error.

Once you have that sorted you can start to worry about the other errors.
 
First thing, check your settings in the Asobo exporter.

The "Textures" setting will determine the relative path to the textures folder. I have mine set to "..\texture". It looks like the texture path is not set correctly which is why you are getting the "Model texture not found in the texture directories" error.

Once you have that sorted you can start to worry about the other errors.
Thank you for the reply but it's still not working.
 
Same error message?

Then your model is still looking for the textures in the wrong place. And the way to get the model to look in the right place is with the texture setting.

Look at your folder structure in

C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\

and look at your GLTF file in a text editor.

Look for this line: "export_texture_dir"

In my case it is "export_texture_dir" : "..\\texture", and because the GLTF is in the model folder (it's an aircraft) this line tells it to go up one directory (to the airplanes route directory) and then into the texture directory and it works because the GLTF tells the same where to find the textures and that is how my folder structure is arranged.

Look in your dockingairf.gltf and see where "export_texture_dir" points to in relation to C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf

Where is your texture folder and where is dockingairf.gltf looking for them?
 
glTFLister | Model texture not found in the texture directories: ‘PaintedMetal002_2K-JPG_Metalness.jpg’ - for model: ‘C:\MSFS Whaley\My Projects\fushi-sun-siyam\PackageSources\Sun-Siyam-Iru-Fushi-ModelLib\dockingairf\dockingairf.gltf’
Your texture nomenclature suggests "Roughness" stands for the COMP, or PBR derivative texture, however "metal" textures are not allowed and it's presence implies "Roughness" may indeed be a grayscale map. None of this will prevent a build, although quality will suffer if the material definitions are not adhered to. I avoid hyphens except exactly where the SDK calls for them, imo underscores are more palatable for some of the classic executables.
 
Back
Top