Description

If the user has the number of players set to more than one, the VR preview will crash.

Steps to Reproduce
  1. Make sure that the oculus is hooked up and turned on
  2. Open Editor
  3. Under the play options change the number of players to 2
  4. Click VR preview
  5. Notice that the editor crashes

Expected: The editor would throw a warning (too many players)
Result: The editor crashes

Callstack
MachineId:E74C21034048BDD873CC6C9A3913CF6C
EpicAccountId:ccbf39de6f9245c0aa23f8e57cc8a566

Unknown exception - code 00000001 (first/second chance not available)

"Assertion failed: View.ViewRotation == CurrentFrame->CachedViewRotation[eyeIdx] [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Pl

UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\misc\outputdevice.cpp:355]
UE4Editor_OculusRift!OculusRift::FViewExtension::PreRenderView_RenderThread()
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\renderer\private\scenerendering.cpp:1328]
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`17'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\async\taskgraphinterfaces.h:753]
UE4Editor_Core!FTaskThread::ProcessTasks() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\async\taskgraph.cpp:430]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\async\taskgraph.cpp:273]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\rendercore\private\renderingthread.cpp:284]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\rendercore\private\renderingthread.cpp:385]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.8.34.114.12
Target Fix4.12
Fix Commit2979816
Main Commit3023490
Release Commit2979816
CreatedAug 18, 2015
ResolvedMay 17, 2016
UpdatedSep 16, 2019