Quick answer: Windows does not keep crash dumps for ordinary applications unless you ask it to. Creating the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyGame.exe with DumpType set to 1 makes Windows Error Reporting write a minidump to %LOCALAPPDATA%\CrashDumps the next time your game crashes. Send players a two-line .reg file, get the .dmp back, and open it in Visual Studio or WinDbg with the PDBs from that exact build.
Some crashes leave you nothing to work with. The log stops mid-line, the engine’s crash handler never ran, and the player can only say it closed. For native crashes like that on Windows, the operating system can collect the evidence for you through a feature called WER LocalDumps. It needs one registry change on the player’s machine. This guide covers the faster check to try first, the registry values, a file you can send to players, and how to read what comes back.
- First, the check that needs no setup
- Reading the exception code and faulting module
- Enable crash dumps for a game with the WER LocalDumps registry key
- What to send a player
- Where the .dmp lands and how big it is
- Opening the dump with symbols
- When LocalDumps produces nothing
- Privacy and transfer
- Where dumps fit next to in-game reporting
- Related guides
- Frequently asked questions
First, the check that needs no setup
Before asking a player to change anything, ask for the crash record Windows already has. Every application crash is written to the event log with the faulting module and exception code.
- Press Win + R, type
eventvwr, press Enter. - Open Windows Logs > Application.
- Find the newest Error with the source Application Error (event ID 1000) at the time of the crash.
- Select it, copy the text on the General tab and paste it into a reply.
Players who are comfortable with PowerShell can get the last five in one line:
Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Application Error'} -MaxEvents 5 | Format-List TimeCreated, Message
What comes back looks like this:
Faulting application name: MyGame.exe, version: 1.0.3.0, time stamp: 0x65a1b2c3
Faulting module name: nvwgf2umx.dll, version: 31.0.15.4601, time stamp: 0x65d6f1e2
Exception code: 0xc0000005
Fault offset: 0x00000000001a2b3c
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\My Game\MyGame.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\...\nvwgf2umx.dll
Reliability Monitor shows the same records on a timeline, which some players find easier: Win + R, perfmon /rel, click the red mark on the day of the crash, then “View technical details”.
Often this is enough. A faulting module that is a GPU driver, an overlay or an antivirus hook answers the question without a dump. If the faulting module is your own executable or engine DLL, you need the stack, and that is what LocalDumps gives you.
Reading the exception code and faulting module
| Exception code | Meaning | Usual cause in a game |
|---|---|---|
0xc0000005 | Access violation | Null or dangling pointer, use after free, a driver fault |
0xc0000409 | Fast fail / stack buffer overrun | A security check or abort(); the runtime terminated on purpose |
0xc00000fd | Stack overflow | Unbounded recursion, a huge stack allocation |
0xc0000374 | Heap corruption | A buffer overrun detected later, at an unrelated free |
0xe06d7363 | Unhandled C++ exception | A throw nobody caught, often std::bad_alloc |
0xc000001d | Illegal instruction | Code built for a CPU feature the machine lacks, or corrupted code |
The faulting module narrows it further. Your executable, GameAssembly.dll or your game module means your code or the engine. A module under DriverStore is the graphics driver. ntdll.dll and KERNELBASE.dll are where the failure was noticed, not where it started: heap corruption and thrown exceptions both surface there.
If you kept the PDB for that build, the fault offset alone can often be resolved to a function. Open the shipped binary in WinDbg as if it were a dump (windbg -z MyGame.exe) and run ln MyGame+0x1a2b3c.
Enable crash dumps for a game with the WER LocalDumps registry key
LocalDumps is a Windows Error Reporting feature that saves a dump locally when a user-mode application crashes. It is not enabled by default and turning it on needs administrator rights, because the key is under HKEY_LOCAL_MACHINE:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
| Value | Type | Default | What it does |
|---|---|---|---|
DumpFolder | REG_EXPAND_SZ | %LOCALAPPDATA%\CrashDumps | Where dump files are written |
DumpCount | REG_DWORD | 10 | How many dumps to keep; the oldest is replaced |
DumpType | REG_DWORD | 1 | 0 = custom, 1 = minidump, 2 = full dump |
CustomDumpFlags | REG_DWORD | Minidump flags, used only when DumpType is 0 |
You can scope the settings to one program by creating a subkey named after its executable. Values in LocalDumps\MyGame.exe apply to that executable and override the global ones. This is the form to use with players. From an elevated Command Prompt:
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyGame.exe" /v DumpType /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyGame.exe" /v DumpCount /t REG_DWORD /d 5 /f
The same thing as a file a player can double-click, saved as enable-mygame-dumps.reg:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyGame.exe]
"DumpType"=dword:00000001
"DumpCount"=dword:00000005
And the undo, saved as disable-mygame-dumps.reg. The minus sign deletes the key:
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\MyGame.exe]
Leave DumpFolder unset. The default folder always exists for the player’s account and is easy to describe. One side effect to know about: creating the subkey also creates the parent LocalDumps key, and Windows may then keep default minidumps for other applications that crash as well, capped at 10 files. Deleting the keys turns everything off again.
Use the right executable name
The subkey must match the process that actually crashes, which is not always the file the player double-clicks. A packaged Unreal game starts from a small launcher, and the real process is MyGame-Win64-Shipping.exe under Binaries\Win64. Games with a separate launcher have the same issue. Check Task Manager’s Details tab while the game runs and use the name you see there.
What to send a player
Thanks for sticking with this. The crash happens deep enough that the
game's own log misses it, so I need a crash file from Windows.
1. Download the attached enable-mygame-dumps.reg and double-click it.
Windows asks for permission twice; choose Yes both times. It tells
Windows to keep a small crash file when MyGame.exe crashes.
2. Play until the game crashes again.
3. Press the Windows key + R, paste this and press Enter:
%LOCALAPPDATA%\CrashDumps
4. Zip the newest file named MyGame.exe.(some number).dmp and send it to
me privately by email or direct message, not in a public channel.
5. To switch the setting off, double-click disable-mygame-dumps.reg.
The file is a snapshot of the game at the moment it crashed. It can
contain your Windows user name and folder names. I use it only to find
this bug and delete it afterwards.
Where the .dmp lands and how big it is
With the default folder, dumps appear in %LOCALAPPDATA%\CrashDumps, named with the executable and process ID: MyGame.exe.12345.dmp.
A minidump (DumpType 1) holds every thread’s stack, the registers, the list of loaded modules with versions, and the exception record. For a game it is typically a few megabytes to a few tens of megabytes and zips much smaller. It is enough to get a symbolicated call stack for every thread, which solves most crashes.
A full dump (DumpType 2) holds all of the process’s memory. For a game that means several gigabytes. Ask for one only when a minidump showed you the crashing function and you need the heap to understand why, and only from a player willing to upload a file that size.
Opening the dump with symbols
You need three things from the exact build the player ran: the PDB files, the executables and DLLs, and ideally the source at that commit. A PDB from a rebuild of the same commit does not match. This is why symbols have to be archived at build time, per build ID.
Visual Studio. Open the .dmp with File > Open > File. The summary page shows the exception code and module list. Add your symbol folder under Tools > Options > Debugging > Symbols, enable the Microsoft symbol servers for system DLLs, then choose Debug with Native Only. You land on the crashing line with the call stack and locals for each frame the minidump covers.
WinDbg. Open the dump, then:
.sympath srv*C:\symcache*https://msdl.microsoft.com/download/symbols;C:\builds\MyGame\1.0.3\symbols
.reload
!analyze -v
!analyze -v prints the exception, the faulting thread’s stack and a failure bucket. .ecxr followed by k shows the stack at the exception, and lm lists modules with their versions, which is how you spot an overlay or an outdated driver. Use .logopen C:\temp\analysis.txt first if you want the output in a text file to attach to the bug.
When LocalDumps produces nothing
LocalDumps only sees crashes that reach Windows Error Reporting. Several things get there first or never get there:
- The engine handled the crash. Unity’s crash handler writes its own folder under
%LOCALAPPDATA%\Temp\<Company>\<Product>\Crashes\with acrash.dmp, the player log and an error log. Unreal’s Crash Report Client writesSaved\Crashes\under%LOCALAPPDATA%\<Project>\with a minidump and a context file. Ask for those folders instead. - It was a hang, not a crash. A frozen game that the player closes produces no dump. For a hang, ask the player to open Task Manager while the game is frozen, right-click the process on the Details tab and choose the option to create a dump file. That is a full dump, so it is large.
- The game never started. A missing DLL or a wrong-architecture library fails in the loader, before there is a process to dump.
- The process exited on purpose. Code that catches the error and calls
exit(), or a launcher that kills the game, leaves nothing for WER. - Error reporting is disabled. Some system-tweaking tools turn Windows Error Reporting off entirely.
The reverse case is worth knowing too. A fast fail (0xc0000409) deliberately skips in-process exception handlers and goes straight to WER, so your engine’s crash handler misses it and LocalDumps is the tool that catches it.
Privacy and transfer
A dump is a copy of memory. Even a minidump contains stack contents: file paths with the Windows account name, strings the game was handling, sometimes a chat line or an account identifier. A full dump contains everything the process had loaded. Treat both as personal data. Ask before you request one, say what it contains, receive it privately, and delete it when the bug is closed. Never ask for a dump to be posted in a public Discord channel or forum thread.
Minidumps are small enough for email or a direct message once zipped. Full dumps need a file-sharing link.
Where dumps fit next to in-game reporting
Asking for a dump is the expensive path, so reserve it for crashes nothing else explains. The Bugnet SDKs for Unity, Godot and Unreal file the errors an engine can see by itself, such as managed exceptions and script errors, with the stack, recent log lines, OS version, CPU, GPU, RAM and game version, and group repeats into one report with an occurrence count. That count tells you which crash is worth a dump request and gives you the players to ask.
When you do get a dump, keep the result with the bug. Bugnet attachments accept text, image, video and JSON files, not binary .dmp files, so save the !analyze -v output as a text file and attach that or paste the stack into a comment. The API reference covers the attachment endpoint if you want to script it.
Related guides
- What Is a Minidump? A Game Developer’s Guide
- How to Read Minidump Files from Game Crashes
- How to Capture a Crash Dump on Desktop Builds
- How to Fix “Unhandled exception code 0xc0000409” (Stack Buffer Overrun) Crashes in Games
- How to Ask Players for a DxDiag Report and What to Look For in It
Frequently asked questions
What is the WER LocalDumps registry key?
It is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps. When it exists, Windows Error Reporting saves a crash dump file to disk when a user-mode application crashes. The values DumpFolder, DumpCount and DumpType control where, how many and how detailed.
Where does Windows save crash dumps for a game?
With LocalDumps enabled and no custom folder set, dumps go to %LOCALAPPDATA%\CrashDumps, named after the executable and process ID, for example MyGame.exe.12345.dmp. Without LocalDumps, Windows does not keep a dump for ordinary application crashes.
How do I enable crash dumps for one game only?
Create a subkey under LocalDumps named after the executable, such as LocalDumps\MyGame.exe, and put DumpType and DumpCount there. Settings in that subkey apply to that executable and override the global ones.
Why is there no dump file even though LocalDumps is enabled?
The crash probably never reached Windows Error Reporting. Engines such as Unity and Unreal install their own crash handlers and write their own crash folders, a hang is not a crash, and a game that fails to start because of a missing DLL has no process to dump.
Is it safe for a player to send a crash dump?
A minidump holds the stacks, loaded modules and some memory of the game process, which can include the Windows user name and file paths. A full dump holds all of the process memory. Ask for consent, prefer minidumps, and have players send them privately.
A dump is only as useful as the PDBs you kept. Archive symbols and binaries for every build you ship, before you need them.