UE4 crashes when Oculus DK2 is On

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]

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


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 :


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]


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.

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 ?

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?

link text

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

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?

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

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?


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.


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.

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.


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.

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?

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.


Hey 3D Masons-

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

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:




512 SSD + 1TB HDD


Windows 8.1.