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

Material crashes MSFS

Messages
42
Country
ca-novascotia
Hi All,

I am trying to create my first own material in MSFS, but so far the result is rather discouraging. It shows up in the SDK editor all right, looks fine, and I can assign it to, say, an apron. It compiles without any errors or warnings. However, when I install the resulting package in the community folder, MSFS crashes while loading the situation (about 75% done).

The material is pretty basic: I create a png file using gimp, no PBR. The sizes I tried was 512x512, 1024x1024 and 2048x2048. Whatever I do results in a CTD.

Did anyone else encounter similar problems?

Thanks,
Peter
 
I have mow tried tp create a material using a texture from the SDK material sample. Same result :(
 
Still no success, and I am running out of ideas how to fix this.

I have created a very basic scenery with just one runway and a test material. The material is not PBR, and the texture png file is taken from the SDK sample material folder that comes with the MSFS SDK. All I do is to create a new material, attach the png file as albedo, and then assign the test material to the runway. This leads to a CTD,

Faulting application name: FlightSimulator.exe, version: 0.0.0.0, time stamp: 0x60783c14
Faulting module name: ntdll.dll, version: 10.0.19041.928, time stamp: 0x9bed63d6
Exception code: 0xc0000005
Fault offset: 0x0000000000063416
Faulting process id: 0x10dc
Faulting application start time: 0x01d7393e7f48bf69
Faulting application path: C:\Program Files\WindowsApps\Microsoft.FlightSimulator_1.15.8.0_x64__8wekyb3d8bbwe\FlightSimulator.exe
Faulting module path: C:\windows\SYSTEM32\ntdll.dll
Report Id: 144a8fab-2f28-4510-821a-f2fcce99525b
Faulting package full name: Microsoft.FlightSimulator_1.15.8.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

I have attached this scenery to this post. It would be fantastic if someone could take a look at it or try it out

Thanks,
Peter
 

Attachments

That error is the common CTD error, it doesn't point to anything specific. Ntdll is probably what most sim crashes (p3d too) show.

Is it possible to use a non pbr texture? As far i know (don't quote me on it) it requires all the maps too, or not. Even if they are black. I would try creating a pbr texture out of it with materialize. It's a free tool in the web.


And with those you try again.


I'm not sure if that will fix it but i think it's worth a try. Seems the material in the sample airport also has an albedo and a comp texture.
 
No CTD for me, either in the DevMode or compiled into the Community folder.

Untitled.png
 
Hello Senchay and Dick,
thanks for the suggestion, Senchay. I tried to add a normal map, but that also resulted in a CTD. Ands yes, that error is pretty generic.

@Dick: thanks a lot for testing the scenery, I really appreciate it. It is very good to know that it works in principle: it must be either something with my system, or something I do.
Just to clarify: all I have to do with the CJB6 scenery is to
1) load it in the Project Editor,
2) Click on "Build All"
3) Close MSFS and move the compiled package into the community folder
Or am I missing something?

Thanks a lot,
Peter
 
Make a Clean All first. That deletes the Package and the temp file. Then Build All is complete.
 
Hi Dick,

I usually remove these files manually, but I now tried the clean all. Same result, unfortunately. I managed to load the package without CTD, but only when the material is missing a texture file (i.e., it is configured to have a texture file but the file is not in place). The runway is then all nice and pink. I will further investigate and report back.

Is there a tutorial anywhere how to create glTF materials without 3ds max? I tried using Blender2MSFS, but it only generates glTF files when I create a model, not with a material only.

Thanks,
Peter
 
A normal isn't a comp though :)
The comp goes into the metal slot but includes AO, roughness and metal in the rgb channel (the msfs material section in blender shows this in the headline of the metal slot).
But I'm not really sure if that's the problem, i just saw that the example is using one and its the way I do mine. But if it's required in not sure..

To create material you could download a texture you find in one of the free pages or use a plain image and try to make the maps for it with materialize, it's a free app. Should be good to do with asphalt or something but not every kind of texture worries well.

There are tutorials if you Google "materialize texture tutorial"

ANd then look here, there is mentioned how the rgb channels have to be filled for msfs pbr.


You can do this in materialize.
 
Last edited:
I could load and compile your example without a problem. That tells me there is something different with your computer or software. I have a Nvidia 1070 8GB video card and 32 GB system memory. Latest Windows 10 updates.
 
Thanks Guys.

@Senchay: Materialize is great, I have used it in the past. I now tried your suggestion by using a diffuse map as albedo and normal map for the normal texture, but it's CTD again :(

In any way, Materialize is only creating textures (say, png). The sample

@Dick: I envy you for being able to compile this :)
I have a pretty new system with a GTX 3080, 32GB RAM, latest Windows update, latest Nvidia drivers, and latest SDK. MSFS is pretty clean, I didn't install any regional packages, for instance. Mostly my own sceneries (and 3-4 others) and a few airplanes.

Cheers,
Peter
 
The driver I use for the card is a bit old, as the updated drivers gave me problems.

version 27.21.14.5167
 
Hi Dick,
great idea to use an older NVIDIA driver. I now tried one from February and from January, but it didn't help. The numbers I used are different from what you quote (461.09 and 461.72). Can you point me to the source of your driver?

Thanks,
Peter
 
Hi Dick,

that driver doesn't work with my card, but I now tried the oldest available driver and it still crashes the sim. MSFS is extremely stable on my system as well. This material problem is only the second CTD that I had. The first one was when I hand-edited a configuration file in one of my sceneries and made a mistake :) And I also do not overclock my PC.

In any way, I now came to the conclusion that materials not only do not work on my system, they also create repetitive tiling patterns. I will try to model a runway in Blender instead. Much more work, but the result will probably be better.

Thanks a lot for your help,
Peter
 
Hi Dick,

that driver doesn't work with my card, but I now tried the oldest available driver and it still crashes the sim. MSFS is extremely stable on my system as well. This material problem is only the second CTD that I had. The first one was when I hand-edited a configuration file in one of my sceneries and made a mistake :) And I also do not overclock my PC.

In any way, I now came to the conclusion that materials not only do not work on my system, they also create repetitive tiling patterns. I will try to model a runway in Blender instead. Much more work, but the result will probably be better.

Thanks a lot for your help,
Peter
Hi, are you resolve your problem with ntdll.dll CTD? At this time I have that issue. I used asobo textures for apron and my own apron textures for markings. In my other projects it`s work (no problem). But in this project I have that issue
 
Last edited:
Hello Dadpash,
no, I never resolved it. Instead of creating a material, I modelled the entire runway in Blender, with textures. The result looks much better, but it is also much more work.
Interesting that this only happens in one of your projects. I never tried creating my own materials again after this experience, but your report may change that.
Cheers,
Peter
 
 
Back
Top