Project Crashing On Startup

To my knowledge this fix is only for those running DirectX 12 in UE v4.24, possibly other versions though.

I recently ran into this issue, only it got weird. One night, I was working on my game, and it was normal in version 4.24 to crash every 8 - 15 minutes, but I could always open it back up. During that night, the crashes started making my computer black screen with strange white stretches across the screen before completely crashing my computer. I finished working on my project for the night, and went to bed.

The next day, I tried opening the project and it started acting in ways I find hard to explain. When I would right click, the right click menu appears as the top-left corner of the editor, rather than the normal buttons and options; this would actually replace most all popup menus. Hovering over anything began making the screen go black and flashing all of the tooltip menus for everything on screen in the top left corner. I could still click the buttons, even though the screen was black.

After this happening for about 30 seconds, the editor would crash with the log file saying:

  • LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
  • LogWindows: File ‘aqProf.dll’ does not exist
  • LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
  • LogWindows: File ‘VtuneApi.dll’ does not exist
  • LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
  • LogWindows: File ‘VtuneApi32e.dll’ does not exist
  • LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.

And the crash window displayed the following (with more of each, I only listed one for space sake):

  • nvwgf2umx
  • D3D12
  • dxgi
  • UE4Editor_D3D12RHI
  • UE4Editor_RHI
  • UE4Editor_Core
  • UE4Editor_RenderCore
  • UE4Editor_Core
  • kernel32
  • ntdll

Because I had no access to the window menu, content browser, or any other aspect of the editor at all, many options were impossible to try, and I couldn’t even migrate assets to a new project after all that work. From much digging online and my own research, I found a solution.

Go to the “Unreal Projects\YourGame\Config” folder and open the “DefaultEngine.ini” file. Inside of that file, find the “DefaultGraphicsRHI=DefaultGraphicsRHI_DX12” option and change it to “DefaultGraphicsRHI=DefaultGraphicsRHI_DX11”. Fixed my problems and it is letting me into the editor again!