TransWikia.com

Failed to create D3D9 Device!

Arqade Asked by user136727 on June 5, 2021

I was playing A Hat in Time, and suddenly the game crashed. When trying to load the game up again I get the following message:

Failed to create the D3D9 Device! This can happen if the desktop is locked. Exiting…

I have ran dxdiag which says everything is hunky-dory.

One Answer

You can try the standard fixes:

People have reported the following fix the issues.

  • Setting Game Launch Options to -dx9.
  • Browse Local Files.
    Right click A Hat in Time; press Properties...; select Local Files tab; select Browse Local Files...
    This will open an explorer window to steamappscommonHatinTime. From here navigate to HatinTimeGameConfig and open HatinTimeSystemSettings.ini

    Edit game config.
    steamappscommonHatinTimeHatinTimeGameConfigHatinTimeSystemSettings.ini

    From here there are two reported fixes:

    • Edit ResX and ResY to smaller values.

      ResX=1600
      ResY=900
      
    • Set Fullscreen to false.

      Fullscreen=False
      

For me setting fullscreen to false worked.
The game set my vertical monitor as the default, and then positioned the game on a different monitor.

Answered by user136727 on June 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP