# Any advice for 4.16 engine crashes after VR preview?

**URL:** <https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588>\
**Category:** XR Development\
**Tags:** UE4-16, engine-crash, unreal-engine, crash, question\
**Created:** [December 18, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588 "2017-12-18T20:52:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KolelP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KolelP](https://forums.unrealengine.com/u/KolelP)\
**Post date:** [December 18, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588/1 "2017-12-18T20:52:45Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [December 20, 2017, 9:13pm UTC](https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588/2 "2017-12-20T21:13:18Z")

</div>

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

> **[Testing and debugging TDR during driver development - Windows drivers](https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys)**
>
> TDR testing and debugging information for developers

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.

---

<div class="post-metadata">

**Author:** ![KolelP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KolelP](https://forums.unrealengine.com/u/KolelP)\
**Post date:** [December 21, 2017, 3:28am UTC](https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588/3 "2017-12-21T03:28:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![KolelP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KolelP](https://forums.unrealengine.com/u/KolelP)\
**Post date:** [December 21, 2017, 3:29am UTC](https://forums.unrealengine.com/t/any-advice-for-4-16-engine-crashes-after-vr-preview/412588/4 "2017-12-21T03:29:05Z")

</div>

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.
