Introducing Dragonfly Cloud! Learn More

Error: unreal engine error 0x887a0020

Understanding the D3D Device Lost Error (0x887A0020)

The "Unreal Engine is exiting due to D3D device being lost" error (0x887A0020) is often related to issues with DirectX, graphics drivers, or hardware problems. This error can occur in Unreal Engine projects as well as games built with the engine.

Potential Causes

  • Outdated or corrupt graphics drivers
  • DirectX installation issues
  • Insufficient system resources
  • Hardware problems, particularly with the GPU
  • Software conflicts
  • Overheating GPU

Solutions to Try

  1. Update Graphics Drivers

    • Download and install the latest drivers from your GPU manufacturer's website (NVIDIA, AMD, or Intel).
    • Consider using studio drivers instead of game-ready drivers for NVIDIA GPUs.
  2. Use DirectX 12

    • For Unreal Engine 4 projects, add the "-dx12" parameter to the shortcut or launch options.
    • For games, check if there's a DirectX 12 option in the settings.
  3. Adjust TdrDelay Value

    • Open Registry Editor (regedit.exe)
    • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
    • Create a new DWORD (32-bit) Value named "TdrDelay"
    • Set its value to 60 (or higher, up to 120)
    • Restart your computer
  4. Underclock GPU

    • Use MSI Afterburner to slightly underclock your GPU's core and memory clocks
    • Reduce core clock by about 30-50 MHz and memory clock by 30 MHz
  5. Run as Administrator

    • Right-click the game or Unreal Engine executable
    • Select "Properties" > "Compatibility" tab
    • Check "Run this program as an administrator"
  6. Check for Hardware Issues

    • Monitor GPU temperatures to ensure it's not overheating
    • Run a stress test on your GPU to check for stability
  7. Disable Overlays

    • Turn off any GPU or game overlays (e.g., NVIDIA GeForce Experience, MSI Afterburner)
  8. Verify Game Files

    • If playing through a platform like Steam or Epic Games, use the "Verify Integrity of Game Files" option
  9. Reinstall DirectX

    • Download the latest version of DirectX from Microsoft's website and reinstall it
  10. Check for Windows Updates

    • Ensure your Windows operating system is up to date

If the issue persists after trying these solutions, consider reaching out to the game's support team or Unreal Engine forums for more specific assistance.

Was this content helpful?

Start building today 

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.