Marvel's Spider-Man 2 Error Codes

Marvel's Spider-Man 2 launched on PC on January 30, 2025, and its main problems are crashes rather than numeric codes: a 'device hang' (DXGI_ERROR_DEVICE_HUNG) tied to ray tracing, display-driver crashes, and out-of-video-memory errors. Insomniac shipped hotfix 1.31.0.0 specifically for ray-tracing device-hang crashes. Here's what each common error means and the fastest fix.

Error codes

DXGI_ERROR_DEVICE_HUNG / device hang crash The GPU stopped responding and DirectX dropped the device

Cause: Ray tracing features stressing the GPU — hotfix 1.31.0.0 targeted device-hang crashes when ray tracing is enabled; also memory leaks with ray tracing set to maximum.

Fix:
  1. Update the game to the latest patch (1.31.0.0 or newer) which addresses ray-tracing device hangs.
  2. Lower or disable ray tracing in the graphics settings to stop the memory leak.
  3. Do a clean GPU-driver install (DDU) and install the latest driver.
Display driver crashed / driver crash on launch The GPU driver crashed and recovered, closing the game

Cause: Outdated or corrupted graphics drivers, the most common reason Spider-Man 2 crashes on PC.

Fix:
  1. Clean-install the newest GPU driver with DDU.
  2. Verify the game files in Steam/Epic.
  3. Disable overlays and any GPU overclock or undervolt.
Out of video memory / video memory error The game ran out of VRAM

Cause: Ray tracing at max and high textures on cards with limited VRAM; a community patch also addresses this.

Fix:
  1. Lower texture quality and ray-tracing settings, and disable frame generation.
  2. For AMD RDNA 3 GPUs, cap max clock to ~2615 MHz in tuning options to stop crashes.
  3. Close background apps and set a frame-rate cap.
In-game crash tied to PlayStation PC SDK The game crashes during play from the bundled PS PC SDK runtime

Cause: A faulty PlayStation PC SDK runtime installer shipped with the PC port.

Fix:
  1. Delete PsPcSdkRuntimeInstaller.msi, PsPcSdkRuntimeManager.msi and pspc_sdk_runtime.bat from the game folder to fix in-game crashes and improve performance.
  2. Verify the game files afterward.
  3. Update Windows and your GPU driver.

Fixes that work for most Marvel's Spider-Man 2 (PC, PlayStation 5) errors

  1. Verify/repair the game files (Steam: Properties -> Installed Files -> Verify integrity; EA app/Epic: Manage -> Repair) — this replaces corrupted files behind most crashes and fatal errors.
  2. Update your GPU driver with a clean install (use DDU), and install the latest Microsoft Visual C++ Redistributables (x86 and x64) plus the DirectX End-User Runtime — missing runtimes and stale drivers cause most launch crashes.
  3. Clear the DirectX Shader Cache (Windows Settings -> System -> Storage -> Temporary files, or Disk Cleanup) and delete the game's local shader/cache folder in AppData\Local, then relaunch.
  4. Disable overlays (Steam, Discord, GeForce Experience, EA, Epic) and any third-party antivirus/VPN, and add the game to your firewall and antivirus exceptions.
  5. Check the game's official server/status channels before assuming a local problem — many named connection errors are a maintenance window or outage and clear on their own.

FAQ

How do I fix DXGI_ERROR_DEVICE_HUNG in Marvel's Spider-Man 2?

The device-hang crash is caused by ray tracing stressing the GPU. Update to patch 1.31.0.0 or newer, which Insomniac shipped specifically for ray-tracing device-hang crashes, then lower or disable ray tracing in the graphics settings and do a clean GPU-driver install with DDU. Capping the frame rate and disabling frame generation also reduces VRAM pressure.

Why does Marvel's Spider-Man 2 keep crashing in-game on PC?

A common cause is the bundled PlayStation PC SDK runtime. Deleting PsPcSdkRuntimeInstaller.msi, PsPcSdkRuntimeManager.msi and pspc_sdk_runtime.bat from the game folder fixes in-game crashes and improves performance for many players. Also update your GPU driver, verify the game files, and lower ray-tracing settings if crashes continue.

Other games