CTD when flying for the first time with new installed aircraft and not using the default livery

Please tag your post with #pc and/or #xbox. PC

Are you on Steam or Microsoft Store version? MS Store

Are you using Developer Mode or made changes in it? No

Brief description of the issue: This behaviour is reproduced 100% of the times with any official or third party aircrafts. After installing a new aircraft the first flight must be done with the first livery (default livery, which is the first entry in the airplane config file) or a crash to desktop will occur. It does not matter if the aircraft is official or third party or if the livery is official as well or a third party one. The sim crashes and then next time the same flight is launched with same aircraft it runs fine. Apparent reason for the crash is the generation process of the auxiliary config variables (state.CFG file) located at:

\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimObjects\Airplanes

After the first time crash the variables are existing there and airplane loads normally. This behaviour can be also reproduced by simply deleting the related SimObjects folder for an existing aircraft.

The config variables are also generated by loading the aircraft in the hangar once, but the sim still crashes in the first flight after doing that, even if the default livery was used at the hangar.

Provide Screenshot(s)/video(s) of the issue encountered: Not applicable.

Detail steps to reproduce the issue encountered:

  1. Install a new airplane (or alternatively delete SimObjects folder for an existing plane)

  2. Start a flight at any airport using any of the liveries which is not the first one (default livery) in the config file for the airplane. Any of the official liveries or a custom made livery will trigger the CTD.

PC specs and/or peripheral set up of relevant: Not relevant.

Build Version # when you first started experiencing this issue: 1.21.13.0

hmmm… I have Steam, but assume its comparable.

I removed a folder on an airplane here:
AppData\Roaming\Microsoft Flight Simulator\SimObjects\Airplanes
and it is auto re-created without issues
Also choosen a airplane I never flew and its created a new folder.

Were you using any of the non-default liveries? This is what creates the issue. Flying with the first livery does not produce the CTD. Delete the airplane folder and don´t chose the first livery of the list for the first flight. Folder is regenerated, yes, but then there´s a CTD during the loading of the flight. Maybe some of the variables are generated wrong, I don´t know, but sim crashes.

Cheers

tried a different one ( deleted folder, start msfs, choose … ) and no issue so far to come into the flight. May be other users can try it too.