Developer Notes

Link to Duplicate:


Crash when toggling between Stereo on and Stereo off after launching the game via right clicking the uproject. After toggling stereo on and off a few times, the session crahes

Steps to Reproduce
  1. Open the editor
  2. Save all
  3. Close the editor
  4. Launch project as game (right click Uproject > Launch game)
  5. Press the '~' key to bring up the console
  6. Use console command "Stereo on"
  7. Put on Headset and accept health warning
  8. Press the '~' key to bring up the console
  9. Use the command "Stereo off"
  10. Repeat the process of turning Stereo on and off until crash (2-4 times making sure to put the headset on each time the stereo on is turned on)
  11. Notice that the game window crashes

Expected: The mode would toggle between Stereo on and off
Result: After toggling stereo on and off a few times, the session crahes

UE4Editor_OculusRift!OculusRift::FLayerManager::SubmitFrame_RenderThread() oculusriftlayers.cpp:395 
UE4Editor_OculusRift!OculusRift::FCustomPresent::FinishRendering() oculusriftrender.cpp:1074 
UE4Editor_OculusRift!OculusRift::FCustomPresent::Present() oculusriftrender.cpp:943 
UE4Editor_D3D11RHI!FD3D11Viewport::PresentChecked() d3d11viewport.cpp:261 
UE4Editor_D3D11RHI!FD3D11Viewport::Present() d3d11viewport.cpp:458 
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIEndDrawingViewport() d3d11viewport.cpp:562 
UE4Editor_RHI!FRHICommandList::EndDrawingViewport() rhicommandlist.cpp:1347 
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() slaterhirenderer.cpp:486 
UE4Editor_SlateRHIRenderer!TGraphTask<`FSlateRHIRenderer::DrawWindows_Private'::`35'::EURCMacro_SlateDrawWindowsCommand>::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?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Platform - XR
Affects Versions4.14.1
Target Fix4.16
CreatedDec 22, 2016
ResolvedJan 4, 2017
UpdatedApr 27, 2018