I recently tried to preview my project using the Oculus Rift DK2, but the VR Preview button was grayed out using the 0.6 Oculus runtime running in extended mode. I upgraded to the 0.8 runtime and it fixed the button being grayed out but every time I VR Preview it crashes. I also tried the 0.7 runtime with the same results.
Here is the crash report:
Access violation - code c0000005 (first/second chance not available)
“”
UE4Editor_RHI!FRHITexture2D::GetSizeY() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\rhi\public\rhiresources.h:446]
UE4Editor_Engine!FCanvas::Flush_GameThread'::
21’::EURCMacro_CanvasFlushSetupCommand::DoTask() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\userinterface\canvas.cpp:775]
UE4Editor_Engine!TGraphTask<FCanvas::Flush_GameThread'::
21’::EURCMacro_CanvasFlushSetupCommand>::ExecuteTask() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\core\public\async\taskgraphinterfaces.h:779]
UE4Editor_Core!FTaskThread::ProcessTasks() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\core\private\async\taskgraph.cpp:539]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\core\private\async\taskgraph.cpp:340]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\rendercore\private\renderingthread.cpp:310]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\rendercore\private\renderingthread.cpp:411]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]