Shooter Game has Occulus exception on Launch

Repro:

  1. Create a new Shooter game from the launcher. (engine 4.6.1)
  2. Start a game - make sure it works
  3. Edit DefaultEngine.ini and replace the SteamAppId with 480 (SpaceWar demo game)
  4. Choose Launch
  5. Wait a while :wink:

Results: Empty window, pause and then the stack trace below. I dont have any occulus options set (that I know of), nor any Occulus software installed on this machine

Note that Play ->StandaloneGame works just fine. Its only Launch that has this problem


The UE4-ShooterGame Game has crashed and will close

Fatal error!

ShooterGame.exe!FOculusRiftHMD::ShutdownRendering() (0x0000000141e960fe) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\plugins\runtime\oculusrift\source\oculusrift\private\oculusriftrender.cpp:627]

ShooterGame.exe!TGraphTask<FOculusRiftHMD::Shutdown'::5’::EURCMacro_ShutdownRen>::ExecuteTask() (0x0000000141e8c7a9) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\public\async\taskgraphinterfaces.h:686]

ShooterGame.exe!FTaskThread::ProcessTasks() (0x000000013f8a76b5) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\async\taskgraph.cpp:428]

ShooterGame.exe!FTaskThread::ProcessTasksUntilQuit() (0x000000013f8a789d) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\async\taskgraph.cpp:271]

ShooterGame.exe!RenderingThreadMain() (0x00000001403089c3) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\rendercore\private\renderingthread.cpp:275]

ShooterGame.exe!FRenderingThread::Run() (0x0000000140308a5c) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\rendercore\private\renderingthread.cpp:376]

ShooterGame.exe!FRunnableThreadWin::Run() (0x000000013fb0a9d6) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]

ShooterGame.exe!FRunnableThreadWin::GuardedRun() (0x000000013fb030cd) + 8 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]

kernel32.dll!UnknownFunction (0x00000000772859ed) + 0 bytes [UnknownFile:0]

ntdll.dll!UnknownFunction (0x00000000774bc541) + 0 bytes [UnknownFile:0]

ntdll.dll!UnknownFunction (0x00000000774bc541) + 0 bytes [UnknownFile:0]