Description

Using the console command ProfileGPU while the Oculus DK2 is plugged in will cause Standalone game to crash. The editor however will not crash, just the Standalone game.

Steps to Reproduce

1. Plug the Oculus Rift DK2 in & make sure it is powered on
2. Open QA-Game
3. Play in Standalone game
4. Once loaded, press ~ to bring up the console command
5. Type ProfileGPU
6. The Standalone game will freeze and then crash

Callstack
MachineId:DE189244480D3CD0F8CA729A02DD38A6
UserName:tjballard

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

Assertion failed: BytesPerPixel [File:D:\BuildFarm\buildmachine_++depot+UE4\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11RenderTarget.cpp] [Line

KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 285 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() + 248 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor_Core!FDebug::AssertFailed() + 1042 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Editor_D3D11RHI!ComputeBytesPerPixel() + 115 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\windows\d3d11rhi\private\d3d11rendertarget.cpp:575]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::ReadSurfaceDataNoMSAARaw() + 113 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\windows\d3d11rhi\private\d3d11rendertarget.cpp:658]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIReadSurfaceData() + 210 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\windows\d3d11rhi\private\d3d11rendertarget.cpp:999]
UE4Editor_RHI!FRHICommandListImmediate::ReadSurfaceData() + 650 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\rhi\public\rhimethods.h:1248]
UE4Editor_Engine!TGraphTask<`FRenderTarget::ReadPixels'::`5'::EURCMacro_ReadSurfaceCommand>::ExecuteTask() + 520 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\async\taskgraphinterfaces.h:669]
UE4Editor_Core!FTaskThread::ProcessTasks() + 2979 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Editor_RenderCore!RenderingThreadMain() + 173 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:275]
UE4Editor_RenderCore!FRenderingThread::Run() + 63 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\rendercore\private\renderingthread.cpp:378]
UE4Editor_Core!FRunnableThreadWin::Run() + 86 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() + 93 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]
kernel32 + 88557 bytes
ntdll + 181569 bytes

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.5.14.64.7
Target Fix4.11
Fix Commit2800812
CreatedNov 21, 2014
ResolvedSep 13, 2016
UpdatedApr 27, 2018