Event Error on Exiting MSFS2020 every time **D3D12Core.dll**

Using the template below will greatly help the team reproduce the issue and ease the process of fixing it. Before posting, search for an existing report. If you are not sure it’s a bug, please first report in User Support Hub.

2 tags are required - add them in the tag section next to the title above:

Feel free to delete this quote section after adding your appropriate tags.


ISSUE DESCRIPTION

Description of the issue:
Same offending program here…Mine didn’t crash, but I get this every time I shut down, it gives me this same error. Microsoft site said try turning off overclocking…still same error occurred.

Faulting application name: FlightSimulator.exe, version: 1.38.2.0, time stamp: 0x00000000
Faulting module name: D3D12Core.dll, version: 10.0.26100.3037, time stamp: 0xdf1f74da
Exception code: 0xc0000005
Fault offset: 0x000000000017d5f4
Faulting process id: 0x3954
Faulting application start time: 0x1DB83F1E15A5A4B
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\MicrosoftFlightSimulator\FlightSimulator.exe
Faulting module path: C:\WINDOWS\SYSTEM32\D3D12Core.dll
Report Id: 83ffa2d1-cd24-4161-9d54-d1afdf74e979
Faulting package full name:
Faulting package-relative application ID:

[PC Only] Did you remove all your community mods/add-ons? If yes, are you still experiencing the issue?

FREQUENCY OF ISSUE

How often does this occur for you (Example: Just once, every time on sim load, intermittently)? Every time I exit FS20 I get this event error

REPRODUCTION STEPS

Please list clear steps you took in order to help our test team reproduce the same issue:

  1. Exit Sim normally

YOUR SETTINGS

If the issue still occurs with no mods and add-ons, please continue to report your issue. If not, please move this post to the User Support Hub.

What peripherals are you using, if relevant:

[PC Only] Are you using Developer Mode or have you made any changes to it? No

[PC, MSFS 2020 Only] Are you using DX11 or DX12? DX12

[PC Only] Many issues may be due to an outdated graphics card. Please state your Graphics Card Driver Manufacturer (NVIDIA, Intel, AMD) and Version:
NVIDIA
Geforce Game Ready Driver
Version: 572.47 - Released 022025
Previous version had same error
[PC Only] What other relevant PC specs can you share?
CPU: AMD Ryzen 9 7900 12-core processor 3701 Mhz
Memory: 32 GB RAM , DDR5
Current resolution: 1920 x 1080, 60Hz
Operating system: Win 11

MEDIA

Please add a screenshot or video of the issue occurring.

[END OF FIRST USER REPORT]


:loudspeaker: For anyone who wants to contribute on this issue, Click on the button below to use this template:

Do you have the same issue if you follow the OP’s steps to reproduce it?

Provide extra information to complete the original description of the issue:

If relevant, provide additional screenshots/video:

I have same

I got an answer from Microsoft:

William.Y - MSFT has replied to your question FlightSimulator.exe, Persisting Event Error Closing Program, Faulting module name: D3D12Core.dll, version in Microsoft Support Community.

Hello Michael,

Welcome to the Microsoft Community.

To address the persistent error when exiting Microsoft Flight Simulator 2020 (FS2020) related to D3D12Core.dll, follow these steps:

Step-by-Step Solutions

  1. Update Graphics Drivers
  • Visit your GPU manufacturer’s website (NVIDIA, AMD, or Intel) and download the latest drivers.
  • Use Display Driver Uninstaller (DDU) for a clean installation:
    1. Boot into Safe Mode.
    2. Run DDU to remove existing drivers.
    3. Reinstall fresh drivers.
  1. Update Windows
  • Go to Settings > Update & Security > Windows Update and install all pending updates.
  1. Clear DirectX Shader Cache
  • Go to Settings > System > Storage > Temporary Files > Check DirectX Shader Cache > Click Remove Files . Restart your PC.
  1. Disable Overlays/Background Apps
  • Turn off overlays (Steam, Discord, NVIDIA GeForce Experience, Xbox Game Bar).
  • Temporarily disable antivirus/firewall to test for conflicts.Disclaimer: Temporarily turn off antivirus protection. However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn it on immediately once issue fixed.
  1. Test with a Clean BooPerform a Clean Boot to see if a background program is causing the issue. This will start Windows with a minimal set of drivers and startup programs. How to perform a clean boot in Windows - Microsoft Support
  2. Press Windows + R, type msconfig, and press Enter.
  3. Go to the Services tab, check Hide all Microsoft services, and then click Disable all.
  4. Go to the Startup tab and click Open Task Manager.
  5. Disable all startup items.
  6. Restart your computer.
    Disclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background service is interfering with your game or program and to isolate the cause of a problem.
    These steps of “clean boot” might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by step so that it will help you get back on track.
    Now check if the issue persists. If it stops, you can narrow down which service or program is causing the issue by re-enabling them one by one and testing after each.
  7. Reinstall Microsoft Visual C++ Redistributables
  1. Check for Game/Simulator Updates

Additional Notes

  • The error often stems from GPU drivers conflicting with DirectX 12 during shutdown. A clean driver install is the most effective fix.
  • If you’re using mods or third-party add-ons, temporarily remove them to test for compatibility issues.
  • If rolling back Windows updates resolves the problem, pause updates until a patch is released.

Let me know if the error persists after these steps!

Best Regards,

William.Y Microsoft Community Support Specialist
Post a reply
Did this reply solve your problem? Give feedback
Recognize and avoid tech support scams
Tech support scams are an industry-wide issue where scammers post fake phone numbers to trick you into paying for unnecessary technical support services. Learn how to help protect yourself from scammers.