CTD editing a scenery (error code 0xc0000409)

While editing a custom airport scenery the simulator crashes with the error code 0xc0000409

Following the error details:

Nome dell’applicazione che ha generato l’errore: FlightSimulator.exe, versione: 1.23.12.0, timestamp: 0x00000000
Nome del modulo che ha generato l’errore: ucrtbase.dll, versione: 10.0.19041.789, timestamp: 0x2bd748bf
Codice eccezione: 0xc0000409
Offset errore 0x000000000007286e
ID processo che ha generato l’errore: 0x2e08
Ora di avvio dell’applicazione che ha generato l’errore: 0x01d8387a82b6f86e
Percorso dell’applicazione che ha generato l’errore: C:\Program Files\WindowsApps\Microsoft.FlightSimulator_1.23.12.0_x64__8wekyb3d8bbwe\FlightSimulator.exe
Percorso del modulo che ha generato l’errore: C:\WINDOWS\System32\ucrtbase.dll
ID segnalazione: 1ec97cd2-408e-4b6b-bc3d-9851163af16f
Nome completo pacchetto che ha generato l’errore: Microsoft.FlightSimulator_1.23.12.0_x64__8wekyb3d8bbwe
ID applicazione relativo al pacchetto che ha generato l’errore: App

Try deleting the package in your project “packages” folder and rebuilding it outside the sim by dragging the .xml onto the fspackagetool.exe file in the SDK folder structure under tools/bin.

Then see how it goes in sim.
Otherwise check your polygons that have anything to do with water, those were CTD for me.

Hi

as I was no more able to build it actually I tried using the fspackagetool and I discovered a couple of texture were not converted then after correcting them the external build worked properly

I should always build it externally as it is sometimes causing a CTD in the sim

Moreover the sim sometimes creates the package on its own in a wrong directory (at the same level of the xml file), I don’t know really why