Description

If the user unhooks their Oculus HMD (USB cable) from the PC while a level is loading the editor will crash

Steps to Reproduce
  1. Make sure that the oculus is hooked up and turned on
  2. Download the attached project
  3. Open the project
  4. Position your body in such away that the USB cable for the Oculus HMD will be easily accessible
  5. Place One hand on the USB cable
  6. Place the other so that it blocks the senser and thinks that you are waring the headset
  7. Play In VR Mode
  8. Wait for the screen to go black (May take sever seconds, the level is set to reload every 10 seconds but may take longer due to lag)
  9. When screen goes black, remove the USB cable from the PC
  10. Notice that the editor will crash

Expected: VR preview would shut down and return the user to the editor
Result: The editor crashes

Callstack
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIClearColorTextures() d3d11commands.cpp:1754 
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIClearColorTexture() d3d11commands.cpp:1736 
UE4Editor_Renderer!FRCPassPostProcessTonemap::Process() postprocesstonemap.cpp:1314 
UE4Editor_Renderer!FRenderingCompositionGraph::RecursivelyProcess() renderingcompositiongraph.cpp:656 
UE4Editor_Renderer!FRenderingCompositePassContext::Process() renderingcompositiongraph.cpp:211 
UE4Editor_Renderer!FPostProcessing::Process() postprocessing.cpp:1938 
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() deferredshadingrenderer.cpp:1251 
UE4Editor_Renderer!RenderViewFamily_RenderThread() scenerendering.cpp:1649 
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`21'::EURCMacro_FDrawSceneCommand>::ExecuteTask() taskgraphinterfaces.h:868 
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() taskgraph.cpp:932 
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:679 
UE4Editor_RenderCore!RenderingThreadMain() renderingthread.cpp:320 
UE4Editor_RenderCore!FRenderingThread::Run() renderingthread.cpp:454 
UE4Editor_Core!FRunnableThreadWin::Run() windowsrunnablethread.cpp:74 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40534 in the post.

4
Login to Vote

Won't Fix
ComponentUE - Platform - XR
Affects Versions4.14.3
Target Fix4.16
CreatedJan 12, 2017
ResolvedApr 10, 2017
UpdatedSep 16, 2019