plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

NandoHer avatar image
NandoHer asked FlyingRaccoon commented

CTD when selecting Open Project option from developr menu

It happens always.

Selecting the Open Project option from the developer menu I got a CTD. Sometimes I got a windows saying it is a memory problem and sometimes I don´t get anything just the CTD.

Here is my crash dump

https://drive.google.com/file/d/1EjqMYe-YA4Ha4MaORRMx-lGR2-8_rS/view?usp=sharing


error MSFS2020.jpgerror 2.jpgerror 3.jpg

ctd
error-msfs2020.jpg (25.8 KiB)
error-2.jpg (23.5 KiB)
error-3.jpg (25.6 KiB)
4 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello @NandoHer

Please read the guidelines here: How to report a bug or crash - MSFS DevSupport (flightsimulator.com)

Your crash dump is a mini dump, not a full one so I can't tell why it's crashing.

Regards,
Sylvain

0 Likes 0 ·
Thanks @NandoHer


This is one of the CTD the engine team is working on as we speak.
Does opening your project produce a crash on a regular basis?
If so, we would be interested to get your project sources so we can try to reproduce this particular crash here. (You can submit a link through a private comment)

Also you can try to switch to DX12 as some users reported this kind of CTD were less prone to occur.

Regards,
Sylvain

0 Likes 0 ·
Show more comments
FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon commented

Hello @NandoHer @Claviateur @Integralo

All of you provided us with dump files that are showing this issue.
Game crashes when opening a scenery project or editing aprons, polygons, elements that are rendered on the ground...
The crash occurs on GPU side and as suggested, switching to DX12 is likely to reduce the occurrence of the crash.

Do you still experience similar crashes on a regular basis? if you switch back to DX11?

We are struggling to reproduce the problem here and are looking for 3rd party developers who can reliably generate the crash and are willing to cooperate with us to investigate further.
@Ironpot has been amazing and has helped us move forward on this but we would need to investigate more scenarios where it occurs.

Let me know if you're interested to help and I'll give more info.

Thanks for your time
Regards,
Sylvain


1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

@zhaoqingMal @ZdenniZ

Although I didn't have a dump file to review in your case, as your description of the issue is matching, your input might be interesting here as well.

0 Likes 0 ·
NandoHer avatar image
NandoHer answered FlyingRaccoon commented

Yes and yes.

I still have the crash if I switch back to DX11. It happens always when selecting the Project Editor option in the Tools menu.

And yes, I am willing to cooperate with iniformation, just let me know what to do.

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello @NandoHer

Thank you for volunteering. This is appreciated :)

Here's a doc explaining what tools you need to install to collect some GPU data when the crash occurs:

DebuggingGPUCrashes.pdf

Regards,
Sylvain

0 Likes 0 ·
NandoHer avatar image
NandoHer answered

Hi, I followed the steps of the document, installed the Nvidia software and produced two crashes, but none of them generated logs in the Nvidia folders. Only the regular crash dump was generated.

Maybe it is not related to the GPU?

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Ironpot avatar image
Ironpot answered

Can I suggest you try the following:

Before you start MSFS delete the _PackageInt folder and the Package folder from your project. Then start MSFS and go to the airport. Go into DEV and load the project. Click Build. It should build cleanly. Now load the BGL. It may or may not CTD here. Whatever occurs, close the project and restart MSFS with the new package. Does this solve the issue for you?


10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

NandoHer avatar image
NandoHer answered FlyingRaccoon commented

@ironpot, the crash occurs when I select "Project Editor" option in the "Tools" menu. I can´t even select a project.


@flyingRaccoon, I check in that folder and there is no .nv-gpudmp file.


2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Ok. Was just wanting to verify an action that I have been following. In many of the testing scenarios I’ve been doing for the guys, there are no NVIDIA dumps generated but it still seems to be related to GPU.
0 Likes 0 ·
Hello @NandoHer

Ok, if we're unlucky, that's not the "Device Removed" issue we are tracking but something else.
Could you upload one of the .dmp you generated recently so we can check the crash is identical to the one you reported initially please ?

Thank you for your help.
Regards,
Sylvain

0 Likes 0 ·
NandoHer avatar image
NandoHer answered FlyingRaccoon commented
1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello @NandoHer

Ok, that's a different issue happening when presenting the window but not the "Device Removed" issue we're looking for.

Yours is probably related to some ImGui windows being rendered outside the main window.
Still in your C:\Users\<Username>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache path, there must be an ImGui.ini file. Can you send it to us, remove it and restart your game. This will reinitialize your ImGui layout.
It'll be interesting to see if the crash still occurs after this.

Regards,
Sylvain

0 Likes 0 ·
NandoHer avatar image
NandoHer answered FlyingRaccoon commented

There is no file with that name in the mencioned folder.

1656427830831.png




1656427830831.png (41.2 KiB)
3 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Ok, maybe in C:\Users\<yourusername>\Documents\My Games\Microsoft Flight Simulator\ then?

0 Likes 0 ·
NandoHer avatar image NandoHer FlyingRaccoon ♦♦ ·
Nothing there...
0 Likes 0 ·
Last chance: check C:\Users\<username>\AppData\Roaming\Microsoft Flight Simulator\

My apologies, the path of this file changes depending on the context so it's not always easy to find where it's located.

FYI, Everything is a very useful tool in that context. It's very efficient to locate any file/directory on your PC, way more efficient than the default explorer search tool.

If you still can't find it, you can try to reset the DevMode settings in the DevMode menu. It will reset this file to default values.

Thank you for your patience :)

Regards,
Sylvain

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.