Effect textures without mip maps cause a CTD when loading a flight in SU2

In the MSFS 2024 SU2 beta (1.4.7.0), aircraft (such as the Fenix A320) with light .fx that define textures in the texture entry, appear to cause the sim to crash if those textures do not use mip maps.

I’m not sure what the relevance to location is, but I did try it at a couple different airports, and it didn’t happen at all of them, but the ones in particular that it did happen at were 100% every time. TNCS is one of them.

Also important - it only happens when the aircraft was already selected when the sim first loads in on the main menu.

This seems to be reproducible with the following steps:

  1. Launch the sim and select the aircraft
  2. Load a flight and spawn
  3. End the flight and return to the main menu (to hopefully guarantee that the active aircraft will be the same on next sim boot)
  4. Close the sim and restart it.
  5. With the aircraft already selected in the main menu, spawn on the runway at TNCS

The game should now crash while the top-down loading screen is being shown.

Attached is a simple test project/package that can be used to trigger the crash:
EffectsCrash.zip (269.5 KB)

Additionally, enabling mip maps on these textures causes a massive degredation in resolution/quality of the effect textures. An example:

Without mips:

With mips:

2 Likes

I can confirm this. When removing the texture from an effect on our plane, the CTD on loading does not occur anymore. Before, I was completely unable to start a flight.
Good find!

1 Like

Is this an intended change in functionality, or an inadvertent change that will be fixed in an update to SU2?

@FlyingRaccoon Sorry for the tag, just want to make sure this gets seen, as it’s pretty critical, and the only solution found so far significantly hurts visuals.

1 Like

The issue should fixed in 1.4.9.0+ - unfortunately I don’t have an ETA regarding the availability of the next SU2 Beta update.

Best regards,

Eric / Asobo

6 Likes

Did a quick test with 1.4.9.0 and this CTD seems to be fixed on my end! :slight_smile:

Same, looks to be resolved in 1.4.9.0

Hi @HughesMDflyer4

Could you provide a package that includes the texture mip quality issue shown in your second screenshot ?

Hey @Nico,

The same package I provided in my first post for the CTD demonstration will also have the mip map issue if you remove the +NOMIPMAP flag from Texture.png.xml located in SimObjects\Airplanes\EffectsCrash\common\effects\texture\.

Thanks for taking a look at this!

Mips disabled:

Mips enabled:

Mip map issue with light projection is fixed for SU3.

1 Like