• 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 Crash to desktop when building all due to specific objects

Messages
2
Country
saudiarabia
Hello everyone,


I'm running into an issue when building all my scenery packages together, especially when the terminal models are included. During the "Build All" process, the simulator crashes to desktop. After restarting MSFS, all objects show up as "Unknown," and the model library fails to load in the world.


However, when I build only the terminal models separately—without including other objects like hangars—the build completes successfully, and everything loads properly in the simulator.


I’ve confirmed that the geometry of all terminal models is clean. In Blender, I used Merge by Distance, Delete Loose, and Degenerate Dissolve to ensure the meshes are optimized and error-free. The models open fine in Blender and compile correctly when built individually.


I've also run Clean All on my entire scenery project before building, but the crash still occurs when building everything together.


I'm not sure why this only happens when combining all models in one build. Any help or suggestions would be greatly appreciated!
 
A simple brute force method to track errors is to duplicate the PackageSources, and safely put it away somewhere. Now eliminate half the models in the package and compile. If it's now OK, add in a model from the duplicated PackageSources. One at a time until the bad model is found. If the first half is not OK, then subtract the models one at a time until you find the error.
I use this type of folder setup to make this type of error checking easier:
FolderSetup.png


The PackageDefinition XML:

XML:
<?xml version="1.0" encoding="utf-8"?>
<AssetPackage Version="0.1.0">
    <ItemSettings>
        <ContentType>SCENERY</ContentType>
        <Title>1TA5</Title>
        <Manufacturer/>
        <Creator>rhumbaflappy</Creator>
    </ItemSettings>
    <Flags>
        <VisibleInStore>false</VisibleInStore>
        <CanBeReferenced>false</CanBeReferenced>
    </Flags>
    <PackageOrderHint>CUSTOM_AIRPORT</PackageOrderHint>
    <AssetGroups>
        <AssetGroup Name="ContentInfo">
            <Type Version="0">ContentInfo</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageDefinitions\rhumbaflappy-airport-1ta5-denver-city\ContentInfo</AssetDir>
            <OutputDir>ContentInfo\rhumbaflappy-airport-1ta5-denver-city</OutputDir>
        </AssetGroup>
        <AssetGroup Name="scenery">
            <Type Version="0">Airport</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\Scenery\airport-1ta5-denver-city\scenery\</AssetDir>
            <OutputDir>Scenery\airport-1ta5-denver-city\scenery\</OutputDir>
        </AssetGroup>
        <AssetGroup Name="MyModelLib">
            <Type Version="1">ModelLib</Type>
            <Flags>
                <FSXCompatibility>false</FSXCompatibility>
            </Flags>
            <AssetDir>PackageSources\Scenery\airport-1ta5-denver-city\MyModelLib\</AssetDir>
            <OutputDir>Scenery\airport-1ta5-denver-city\MyModelLib\</OutputDir>
        </AssetGroup>
    </AssetGroups>
</AssetPackage>

This way each model exists in it's own folder, which can just be moved out of the packagesources if needed. Kind of OCD, but it makes error checking easy. The sim's compiler sorts everything out, and finds all the models.
 
Thank you very much, I know now that there is a problem with one specific model that caused the issue, Although I don't know what is causing the problem from the model is there a way to know how to find the problem in the model?
 
Back
Top