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

MSFS20 Console Error: Model texture not found in the texture directories

Messages
12
Country
unitedstates
I've been having this problem for months now, I contacted multiple people and I just can't get an answer or someone knows how to fix this. Hopefully someone here experience my issue and maybe has a fix?

Whenever I try to build my project I get 'Model texture not found in the texture directories' in the console. All textures are set to 1024 on both sides and being exported to PackageSources\modellib\texture along with that my output directory is "Scenery\Global\Scenery\" for my models and "Scenery\World\Scenery\" for my scene/airport. Lowercasing the letters doesn't have any effect, I tried building it and has the same "Model texture not found in the texture directories" log.

The model itself isn't the issue since I can view my model in '3D Viewer' with the textures and I can see the model itself in-game but 0 textures are getting projected on it.

Console log:
"glTFLister | Model texture not found in the texture directories: 'MATERIAL_NORMAL.PNG' - for model: 'H:\SteamGames\steamapps\common\Chucky\PackagesPath\SDK\AirportProjects\WaltDisneyRunway\PackageSources\modellib\WaltDisneyBus\WaltDisneyBus.gltf'"

My Assets Groups:

Code:
    <AssetGroups>
        <AssetGroup Name="ContentInfo">
            <Type>ContentInfo</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageDefinitions\azgoodaz-walt-runway\ContentInfo\</AssetDir>
            <OutputDir>ContentInfo\azgoodaz-walt-runway\</OutputDir>
        </AssetGroup>
        <AssetGroup Name="groundmickey">
            <Type>ArtProj</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\modellib\GroundMickey\</AssetDir>
            <OutputDir>Scenery\Global\Scenery\</OutputDir>
        </AssetGroup>
        <AssetGroup Name="scene-airport">
            <Type>BGL</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\scene\</AssetDir>
            <OutputDir>Scenery\World\Scenery\</OutputDir>
        </AssetGroup>
        <AssetGroup Name="walt-disney-bus">
            <Type>ArtProj</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\modellib\WaltDisneyBus\</AssetDir>
            <OutputDir>Scenery\Global\Scenery\</OutputDir>
        </AssetGroup>
    </AssetGroups>
 
Without the actual file, it's a bit hard to decipher. I don't know why your output isn't scenery\global\scenery\, for everything, with no capital letters. Put it all in the same spot. And where is your texture folder?
folders.png


And are the images 32-bit png? You can view the glTF file in notepad and see what the model's texture extension should be.
 
Without the actual file, it's a bit hard to decipher. I don't know why your output isn't scenery\global\scenery\, for everything, with no capital letters. Put it all in the same spot. And where is your texture folder?
View attachment 64231

And are the images 32-bit png? You can view the glTF file in notepad and see what the model's texture extension should be.

Capital letters or not, it gives the same results. I'm following what all marketplace creators are doing, putting models in their own folders and scenery in their own folders. Scenery works fine, just not the textures. Textures are in the modelLib folder as stated above. Images are 24 Bit png files.
 
This post shows an example of a package that copies the structure of Microsoft's Nagasaki airport addon:
https://www.fsdeveloper.com/forum/t...ects-in-an-airport-project.449746/post-862096

My guess it's something wrong with the location of the texture, the wrong type of texture, a bad texture, or a texture that doesn't match what the .gltf is looking for. Again, if you zip a package that has the error, we could actually offer some help.
 
Alright so I found the issue. I had my models individually in the project instead of having 1 artproject file named 'mymodelib' and then upon building the project the textures go outputted to the build. Weird little bug.
 
So for days my SIM was crashing every time I clicked Load In Editor. I found four reasons why this was occurring, none of which were my fault as I was following Flying Theston's YT instructions to the letter.
First when updating the BGL version in the model folder after the Blender build, (at least in my system) it did not like changing anything else but the version # from 1.0 to 1.1. Second, my SDK simple scenery package came with two incorrect input/output directories. I have yet to see these in any tutorial video. Mine came straight from the SDK unzip like this: mymodellib <OutputDir>scenery\mycompany</OutputDir> the next one down like this: myscene <OutputDir>scenery\OutputDir> both incorrect directories. And fourthly, I found out if you fill out any information in the inspector window, it will ask you to save it. When I did it sort of rebuilds the package and my project would not show up in the objects window even if I closed it and tried to re-open it. Hope these tips save some others the agony I went through for days.
 
Alright so I found the issue. I had my models individually in the project instead of having 1 artproject file named 'mymodelib' and then upon building the project the textures go outputted to the build. Weird little bug.

Thank you for posting the resolution to your problem. It just helped me fix mine. I guess the newer SDK versions require the modellib and the older ones didn't? I've been watching tutorial videos for 2 days trying to figure out what I've been doing wrong. Nowhere in any of the videos I watched was a modellib created and yet the textures worked.
 
Alright so I found the issue. I had my models individually in the project instead of having 1 artproject file named 'mymodelib' and then upon building the project the textures go outputted to the build. Weird little bug.
I am having the exact same problem and trying this to fix for more than 6 months. Nothing helps. No matter where I place the textures it won't be recognized. I have it placed like in the post from rhumbaflappy. I modyfied the Modelfile to tell where the texture is. I did a simple Testobject with one simple texture. In Blender I did not put an "../textues/" in the texture folder while exporting. And it worked like a charme. But the tower model i am having which has only one texture just doesnt want to load it. May I add a zipfile here with my model so someone who is more an expert than I am can try it out to get it to work? Many thanks in advance.
 
Last edited:
...I did not put an "..\textues" in the texture folder while exporting. And it worked like a charme. But the tower model i am having which has only one texture just doesnt want to load it. May I add a zipfile here with my model so someone who is more an expert than I am can try it out to get it to work? Many thanks in advance.
Did the ModelLib\textures folder exist before you did the Blender export and did you make sure that all parts of your model were selected before exporting from Blender? Those are the only 2 things that have caused a no texture export condition for me.

Also, every so often after exporting a model several times, I need to go back in and (re)edit the <modelname>.xml file to correct the header, or the sim starts doing weird stuff with my models in dev mode. By weird I mean showing an empty bounding box cube, or a model with no texture. Most of the videos I've seen show people changing version 1.0 to 1.1 on the line with the GUID. That line always shows 1.1 for me. I've had the best results changing the top line from <?xml version="1.0" ?> to <?xml version="1.1" encoding="utf-8" ?> and not messing with the GUID line. I seem to get more consistent results doing it that way.

note: I am NOT an expert. I'm just learning. If someone follows with what appears to be a better answer, you are probably better off follow their advice instead of mine. ;)
 
PackageBuilder | Reading J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\EDJA.xml...
PackageBuilder | Preparing asset groups...
PackageBuilder | Done, 4 asset groups registered.
PackageBuilder | Generating commands for package edja-memmingen...
PackageBuilder | Preparing commands for asset group EDJA-Objekte...
PackageBuilder | Preparing commands for asset group ContentInfo...
ContentInfoLister | Content Info thumbnail is missing (J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\PackageDefinitions\edja-memmingen\ContentInfo\Thumbnail.jpg does not exist)
PackageBuilder | Failed to spawn lister for asset group ContentInfo (type ContentInfo)
PackageBuilder | Preparing commands for asset group New_Asset_Group...
glTFLister | Model texture not found in the texture directories: 'HANBLAU.PNG' - for model: 'J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\PackageSources\modelLib\HangarBlue\HangarBlue.gltf'
glTFLister | Model texture not found in the texture directories: 'TOWERMETALL.PNG' - for model: 'J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\PackageSources\modelLib\Tower\EDJA-Tower.gltf'
glTFLister | Model texture not found in the texture directories: 'TOWER-COLOR.PNG' - for model: 'J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\PackageSources\modelLib\Tower\EDJA-Tower.gltf'
PackageBuilder | Ready, 7 commands added.
PackageBuilder | Starting the build...
PackageBuilder | Finished, 7 skipped, 0 done and 1 failed, took 0s007ms.
? false returned by Command=BuildPackages Comment=Rebuild the packages whose name correspond to the given filter, and for the given project (default fs-project.xml) NbParam=2 Line=BuildPackages edja-memmingen * "J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA\EDJA.xml" "J:\Blender\FS2020 Projekte\EDJA - Memmingen\MSFS - EDJA" 1 1

Thats all i get. Yes I did all the above. I am sure its an easy thing to fix if I could just talk to someone, try on the fly and see whats happening. But it gets so frustrating right now because now my models are not loading anymore...and I dont know why. I used to do airports for FSX. So I am not a noob trying to build an airport. but this gets sick right now. trying for several hours to get it to work. but it simply doesnt do what I expect it to do.
Thats the texture part from the gltf file.
},
"msfs_guid" : "{2954ddf7-1de4-4906-cdb0-6ea8f68390ef}",
"glTF2ExportSettings" : {
"export_apply" : 1,
"export_copyright" : "",
"export_extras" : 1,
"export_format" : "GLTF_SEPARATE",
"export_generate_guid" : 1,
"export_tangents" : 1,
"export_texture_dir" : "../Textures/",
"export_xml" : 1,
"export_xml_file" : "EDJA-Tower.xml",
"use_selection" : 1
 
Last edited:
Back
Top