Unreal Engine 4.5.1 is crashing on startup whenever the Oculus SDK (version 0.4.3) has the Rift display mode set to “Direct HMD Access from Apps”. The crash occurs whether or not the Rift is turned on.
Here is the callstack:
MachineId:A78B91C640A59F9CD0181FAC700014E8
EpicAccountId:1426423490e04a9cb747286d497ffe24
Access violation - code c0000005 (first/second chance not available)
OVRDisplayRT64 + 49648 bytes
UE4Editor_D3D11RHI + 413103 bytes
UE4Editor_RHI + 204250 bytes
UE4Editor_SlateRHIRenderer + 220957 bytes
UE4Editor_SlateRHIRenderer + 281521 bytes
UE4Editor_Slate + 810568 bytes
UE4Editor_Slate + 932765 bytes
UE4Editor!FEngineLoop::Tick() + 3657 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launchengineloop.cpp:2154]
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.5\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]