# DirectX encountered an unrecoverable error

> Markdown version of https://stella.sh/how/pc-gaming/directx-encountered-an-unrecoverable-error for agents and LLMs.
> Call of Duty or Warzone closing with DirectX encountered an unrecoverable error? Stella (stella.sh) clears the cause, from old shaders to a shaky overclock.

This Call of Duty crash means the graphics card stopped answering the game, usually from a stale driver, a corrupted shader cache or an unstable overclock. Stella (stella.sh) works through those causes and leaves your settings steady.

## What you get

- The game's shader cache cleared so it rebuilds clean
- A fresh graphics driver for your exact card
- Any factory or manual overclock eased back

## Ask Stella

> Warzone keeps crashing mid-match with DirectX encountered an unrecoverable error. RTX 4070. Make it stop.

## An example chat

**You:** Warzone keeps crashing mid-match with DirectX encountered an unrecoverable error. RTX 4070. Make it stop.

**Stella:** On it. Reading the crash reports Warzone left.

*Stella works on: Fixing the Warzone DirectX error*
- Crash came from the graphics driver
- Clearing Warzone's shader cache
- Installing the newest NVIDIA driver
- Lowering the memory overclock

**Stella:** Done. The driver reset during play each time. Warzone's shader cache is cleared, the NVIDIA driver is fresh, and the overclock from your tuning tool is off. The first match will rebuild shaders, then it plays normally.

Works on Windows.

## Questions

**Is my graphics card dying?**
Rarely. Most of the time it's software or a clock speed the card can't hold for long. Stella checks those before anything points at the hardware.

**Does running the game as administrator help?**
It helps when the game can't write its shader files. Stella fixes the folder access instead, so you don't need it every launch.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Delete the shader cache folders in the game's install folder (players or shadercache); the game rebuilds them.
2. Clean install the driver with DDU, then remove any overclock in MSI Afterburner.
3. Use Scan and Repair in Battle.net or Verify in Steam.

## Related

- [DXGI_ERROR_DEVICE_REMOVED and DXGI_ERROR_DEVICE_HUNG](https://stella.sh/how/pc-gaming/dxgi-error-device-removed.md)
- [Clean install NVIDIA drivers (or AMD) with DDU](https://stella.sh/how/pc-gaming/clean-install-graphics-drivers.md)
- [Games crashing to desktop with no error](https://stella.sh/how/pc-gaming/games-crashing-to-desktop.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
