# UE4 crashes when Oculus DK2 is On

**URL:** <https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Oculus-Rift, question\
**Created:** [February 3, 2015, 9:27pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905 "2015-02-03T21:27:51Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cliff\_Warren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cliff\_Warren](https://forums.unrealengine.com/u/Cliff_Warren)\
**Post date:** [February 3, 2015, 9:27pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/1 "2015-02-03T21:27:51Z")

</div>

I’m using trying to use the dk2 in ue4 for the first time. When I launch UE4 with the Oculus Rift on (yellow light) it crashes. When I turn the Rift off UE4 starts up perfectly. If i turn the Rift back On and hit “Launch” it fails to launch the application. These are the errors it’s feeding me. I’ve seen this question come up before and a fix has never been posted.

Fatal error!

OVRDisplay64.dll!UnknownFunction (0x00007fff86156239) + 0 bytes [UnknownFile:0]  
OVRDisplayRT64.dll!UnknownFunction (0x00007fff912ea295) + 0 bytes [UnknownFile:0]  
OVRDisplayRT64.dll!UnknownFunction (0x00007fff912e58fc) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b8f1094f) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b8f3aa7a) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b8fdc4d3) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b94c0a9f) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b8a14b48) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6ba0ec440) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b98885eb) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b83d6394) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b83cd79b) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b83cd8aa) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6b83dd3e9) + 0 bytes [UnknownFile:0]  
UE4Game.exe!UnknownFunction (0x00007ff6bad4f3dd) + 0 bytes [UnknownFile:0]  
KERNEL32.DLL!UnknownFunction (0x00007fff961516ad) + 0 bytes [UnknownFile:0]  
ntdll.dll!UnknownFunction (0x00007fff983734a5) + 0 bytes [UnknownFile:0]  
ntdll.dll!UnknownFunction (0x00007fff983734a5) + 0 bytes [UnknownFile:0]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 4, 2015, 2:28pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/2 "2015-02-04T14:28:05Z")

</div>

Hey -

There are a couple of questions I would like to ask to help us investigate this crash. Which version of the engine are you working on? Also, what are the current runtime and framework versions you’re using for the Oculus?

Additionally, could you also post the log files from the crash as well? The following wiki page can help point to where they are located depending on when the crash occurred: [A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Locating_Project_Logs)

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3fe41206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3fe41206](https://forums.unrealengine.com/u/anonymous_user_3fe41206)\
**Post date:** [February 6, 2015, 9:57am UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/3 "2015-02-06T09:57:34Z")

</div>

DK2 with UE 4.6 don’t want to start editor if DK2 is power on.  
If I switch it off, it starts and if I switch on after UE start, Game don’t start and crash.

Nvidia driver is up to date, same for Oculus Runtime (0.4.4), Oculus UE plugin is enabled and I’m on Direct HMD mode.

Here is my stacktrace :

MachineId:744E5693443AF1E98289AD8DEDFB79B9  
EpicAccountId:265a4d12a9594f3d9305c0a4f514e717

Access violation - code c0000005 (first/second chance not available)

OVRDisplay64 + 25145 bytes  
OVRDisplayRT64 + 41621 bytes  
OVRDisplayRT64 + 22780 bytes  
UE4Editor\_D3D11RHI + 199098 bytes  
UE4Editor\_D3D11RHI + 373160 bytes  
UE4Editor\_RHI + 215660 bytes  
UE4Editor\_SlateRHIRenderer + 273389 bytes  
UE4Editor\_SlateCore + 872516 bytes  
UE4Editor\_Engine + 3527355 bytes  
UE4Editor\_MoviePlayer + 78096 bytes  
UE4Editor!FEngineLoop::PreInit() + 10461 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:1342]  
UE4Editor!GuardedMain() + 236 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:110]  
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]  
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]  
UE4Editor!\_\_tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 6, 2015, 1:43pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/4 "2015-02-06T13:43:07Z")

</div>

Hey

Does the crash also occur if you switch from Direct HMD to Extend Desktop mode? Also if you could supply your logs as described above it will help us see what exactly is happening.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3fe41206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3fe41206](https://forums.unrealengine.com/u/anonymous_user_3fe41206)\
**Post date:** [February 6, 2015, 2:08pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/5 "2015-02-06T14:08:35Z")

</div>

No it doesn’t but Rift doesn’t work in this mode. “stereo on” returns command unknown (plugin is installed)

I can’t attach log to the comment, How can I do that ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 6, 2015, 2:34pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/6 "2015-02-06T14:34:57Z")

</div>

You should be able to save the log as a .txt file and then upload it. Additionally, which version of the engine are you seeing this with and do you see the same thing with other versions?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3fe41206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3fe41206](https://forums.unrealengine.com/u/anonymous_user_3fe41206)\
**Post date:** [February 6, 2015, 3:18pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/7 "2015-02-06T15:18:22Z")

</div>

link text

I’m pretty new on Unreal, I’m just getting the last version 4.6. Thanks for the tips log

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 6, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/8 "2015-02-06T15:55:35Z")

</div>

Are you using the Github source version of the engine or are you opening the binary version from the launcher? Also, how far into the process of launching the editor are you able to get with the Oculus on? Does the crash happen when launching a project or when pressing the launch button from the Launcher? Additionally, could you turn off the Oculus and open the editor. Once the editor opens go to Help-\>About Unreal Engine and get the changelist number from the top right of the pop-up window?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3fe41206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3fe41206](https://forums.unrealengine.com/u/anonymous_user_3fe41206)\
**Post date:** [February 6, 2015, 3:59pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/9 "2015-02-06T15:59:40Z")

</div>

I’m using the binaries.  
I get the error after 1 or 2 seconds after clicking on Play. Not on launching the editor.  
The number is :4.6.1-2386410+++depot+UE4-Releases+4.6

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 6, 2015, 4:27pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/10 "2015-02-06T16:27:45Z")

</div>

Thank you for the information. Just so I’m clear, your crash is when you try to play in the editor, not a crash when opening the editor correct?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 12, 2015, 2:48pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/11 "2015-02-12T14:48:21Z")

</div>

Hey

Thank you for all the information provided. I have logged this crash as UE-9316 on our internal tracking database for further investigation. Let us know if you have any other problems or can think of any other information regarding this issue.

Cheers

---

<div class="post-metadata">

**Author:** ![mortarman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mortarman](https://forums.unrealengine.com/u/mortarman)\
**Post date:** [February 27, 2015, 10:33pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/12 "2015-02-27T22:33:27Z")

</div>

I’m having the exact same problem DX11 problem in UE4.7 final… even after the post-release UE4.7 update that came out today. As soon as I click on anything after the editor loads, it crashed. I have an original Titan running on my desktop machine.

I am able to run the editor under the rift in Extended Desktop mode, however.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 2, 2015, 8:23pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/13 "2015-03-02T20:23:48Z")

</div>

Hey mortarman-

Are you crashing specifically when trying to Play? Make sure you are on the latest Oculus runtime (0.4.4) and that your video drivers are up to date. If your crash is happening at times other than when pressing the Play button then it may be a related yet different issue. If that is the case it would be best if you created a new post in order to monitor and support the issues separately as well as make searching for separate issues easier in the future.

Cheers

---

<div class="post-metadata">

**Author:** ![3D\_Masons](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3d_masons/32/484377_2.png) [@3D\_Masons](https://forums.unrealengine.com/u/3D_Masons)\
**Post date:** [March 28, 2015, 10:21pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/14 "2015-03-28T22:21:36Z")

</div>

I am having the same issue with Oculus Rift DK2. If it is powered on when attempting to launch the 4.7.3 editor it crashes and wants the user to give a report (nice). If you turn it off you can get the editor to launch, and your project, but I could never get the display to actually work (power indicator displays orange saying no video signal).

For now I have to use the “Extend Desktop to the HMD” display mode in the “Rift Display Mode” options, most have to orient their display to be horizontal, and then everything works correctly but just not ideal. Hopefully this issue can be resolved soon so that we can use the Direct HMD display mode.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 31, 2015, 7:12pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/15 "2015-03-31T19:12:08Z")

</div>

Hey 3D Masons-

Are you running on a laptop or desktop? If you have dual graphics cards does the crash occur when using either card or only when running a specific card? Also, could you post your DXDiag for additional information?

---

<div class="post-metadata">

**Author:** ![3D\_Masons](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3d_masons/32/484377_2.png) [@3D\_Masons](https://forums.unrealengine.com/u/3D_Masons)\
**Post date:** [April 3, 2015, 8:34pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/16 "2015-04-03T20:34:17Z")

</div>

I apologize for the late reply, , been extremely busy lately.

Desktop with a single graphics card on this rig. I have attached my DXDiag info.

Thank you for responding.

DXDiag.txt

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 7, 2015, 9:06pm UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/17 "2015-04-07T21:06:44Z")

</div>

Hey 3D Masons-

Thanks for the additional info, this has been added to the original report which is still being investigated.

---

<div class="post-metadata">

**Author:** ![Fervillagon\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fervillagon\_1](https://forums.unrealengine.com/u/Fervillagon_1)\
**Post date:** [May 20, 2015, 7:14am UTC](https://forums.unrealengine.com/t/ue4-crashes-when-oculus-dk2-is-on/305905/18 "2015-05-20T07:14:11Z")

</div>

Hola a todos.

Tenia el mismo problema y he encontrado la solución (Al menos para mi caso).

1. Dirigirse a **C:\Program Files\Epic Games\4.7\Engine\Binaries\Win64** y establecer **compatibilidad para Windows 7** en el ejecutable **UE4Editor.exe**
2. Asegurarse de que **UE4Editor.exe** se ejecuta con el **procesador de alto rendimiento (Control de panel NVIDIA)**.

ESO ES TODO¡¡¡ Después de hacer mil pruebas y leer mil foros es lo que ha funcionado¡¡¡¡

* * *

Hello everyone. (Sorry for my english, i´m spanish).

I had the same problem and the solution I found (at least for me).

1. Approach \*\* C: \ Program Files \ Epic Games \ 4.7 \ Engine \ Binaries \ Win64 \*\* and establish **compatible with Windows 7** in the executable **UE4Editor.exe**

2. Ensure that **UE4Editor.exe** running with **high performance processor (NVIDIA Control panel)**.

THAT’S ALL¡¡¡ After making thousand tests and thousand forums only that is worked¡¡¡

* * *

My Computer:

ASUS G750JY

i7-4710-HQ.

16GB RAM.

512 SSD + 1TB HDD

NVIDIA 980m 8GB GDDR 5.

Windows 8.1.
