Any advice for 4.16 engine crashes after VR preview?

In normal use of UE4.16, it works fine. However, after playing and quitting the VR preview it’s like the editor is in some danger zone where a crash could occur at any moment. I’m having trouble finding cause/consistency. I’m using an Asus - ROG GL502VM 15.6" laptop. Below is the crash report that’s auto-copied to my clipboard.

"Fatal error: [File:D:\Build++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 327] SwapChain->ResizeBuffers(1,SizeX,SizeY,RenderTargetFormat,DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH) failed at D:\Build++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Viewport.cpp:220 with error DXGI_ERROR_INVALID_CALL, Size=678x173 Format=DXGI_FORMAT_R10G10B10A2_UNORM(0x00000018)

KERNELBASE.dll!0x000000004F879D98 UE4Editor-Core.dll!0x000000001187AFFE UE4Editor-Core.dll!0x000000001169249B UE4Editor-Core.dll!0x0000000011620849 UE4Editor-D3D11RHI.dll!0x00000000F8278C65 UE4Editor-D3D11RHI.dll!0x00000000F8271447 UE4Editor-SlateRHIRenderer.dll!0x00000000F8037F7C UE4Editor-SlateRHIRenderer.dll!0x00000000F804DFB8 UE4Editor-Slate.dll!0x000000001616347A UE4Editor-Slate.dll!0x000000001612AB80 UE4Editor-Slate.dll!0x00000000161897B2 UE4Editor-Slate.dll!0x0000000016188A55 UE4Editor.exe!0x00000000AC5DED59 UE4Editor.exe!0x00000000AC5CF0B0 UE4Editor.exe!0x00000000AC5CF12A UE4Editor.exe!0x00000000AC5E0CF9 UE4Editor.exe!0x00000000AC5E25F7 KERNEL32.DLL!0x0000000050172774 ntdll.dll!0x0000000052570D51 ntdll.dll!0x0000000052570D51 "

I don’t have any issues running other VR software or even packaged versions of the game. Only when using VR preview in editor do I have issues. Any thoughts on what could be causing this and/or what I can do to avoid this?

Had this exact issue a lot on 4.17.x and I am still having it from time to time on 4.18.x. I am also on an Asus ROG, so it could very well be Asus specific, but I cannot tell for sure.

Things that seemed to work for me:

  • Uninstall all Asus apps that could interfere with DirectX, especially Sonic Studio II
  • Reduce CPU overclocking
  • Update the Graphic Drivers to the very latest version
  • Increase Windows TDR delay time

This may be a coincidence, but some of my crashes happened after the Oculus application issued a warning about the Guardian System not working properly. Usually repeating the Oculus setup procedure fixed it.

Yeah, I’ve seen similar suggestions on other questions like mine. I figured that since I hadn’t enabled any ASUS sonic stuff, it wouldn’t be running, but I was wrong. Sonic Studio II was apparently always on in some capacity. After noticing it in my hidden icons on the taskbar, and making it exit/quit, I’ve been crash free for about 24 hrs. I hesitate to consider this issue solved, but I’m hopeful. Unless I get a crash between now and tomorrow night, I’ll mark this post resolved.

Sonic Studio II was apparently always on in some capacity. After noticing it in my hidden icons on the taskbar, and making it exit/quit, I’ve been crash free for about 24 hrs. I hesitate to consider this issue solved, but I’m hopeful. Unless I get a crash between now and tomorrow night, I’ll mark this post resolved.