Description

Using the Profilegpu console command in a Daydream app causes the app to crash. Crash logs attached.

Regression?: No
This also occurred in 4.14

Steps to Reproduce
  1. Create/open a project and set it up for Daydream support
  2. Package the project for Android (tested on All and ASTC)
  3. Install the app
  4. Run the app
  5. Press 4 fingers to the screen to open the console
  6. Run the profilegpu console command
    Result: The app crashes
    Expected: Profilegpu runs successfully
Callstack
05-08 14:24:23.948: D/UE4(11457): Assertion failed: ShaderRef != NULL && *ShaderRef != nullptr [File:Runtime/ShaderCore/Public\Shader.h] [Line: 1441] 
05-08 14:24:23.948: D/UE4(11457): Failed to find shader type FLongGPUTaskPSlibUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...) 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FLongGPUTaskPS* TShaderMap<FGlobalShaderType>::GetShader<FLongGPUTaskPS>() const 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FOpenGLDynamicRHI::IssueLongGPUTask() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FOpenGLGPUProfiler::BeginFrame(FOpenGLDynamicRHI*) 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FOpenGLDynamicRHI::RHIBeginFrame() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so![Unknown]() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so![Unknown]() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FNamedTaskThread::ProcessTasksUntilQuit(int) 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!RenderingThreadMain(FEvent*) 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FRenderingThread::Run() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FRunnableThreadPThread::Run() 
05-08 14:24:23.948: D/UE4(11457): libUE4.so!FRunnableThreadPThread::_ThreadProc(void*) 
05-08 14:24:23.948: D/UE4(11457): libc.so![Unknown]() 
05-08 14:24:23.948: D/UE4(11457): libc.so![Unknown]() 
05-08 14:24:23.949: D/UE4(11457): [2017.05.08-18.24.23:948][447]Assertion failed: Assertion failed: ShaderRef != NULL && *ShaderRef != nullptr [File:Runtime/ShaderCore/Public\Shader.h] [Line: 1441] 
05-08 14:24:23.949: D/UE4(11457): Failed to find shader type FLongGPUTaskPS

Have Comments or More Details?

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

2
Login to Vote

Non-Issue
ComponentUE - Platform - XR
Affects Versions4.144.154.164.19
CreatedMay 8, 2017
ResolvedJan 3, 2019
UpdatedSep 16, 2019
View Jira Issue