Description

This is an early trending crash in the 4.16 Preview. User information has not been provided, but this shares similarities to an old jira [Link Removed].

Source context:

 1434       	/** Finds the shader with the given type.  Asserts on failure. */
 1435       	template<typename ShaderType>
 1436       	ShaderType* GetShader() const
 1437       	{
 1438       		check(bHasBeenRegistered);
 1439       		const TRefCountPtr<FShader>* ShaderRef = Shaders.Find(&ShaderType::StaticType);
 1440       		checkf(ShaderRef != NULL && *ShaderRef != nullptr, TEXT("Failed to find shader type %s"), ShaderType::StaticType.GetName());
 1441 ***** 		return (ShaderType*)((*ShaderRef)->GetShaderChecked());
 1442       	}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: ShaderRef != NULL && *ShaderRef != nullptr [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\ShaderCore\Public\Shader.h] [Line: 1441] Failed to find shader type TOneColorVStruefalse

UE4Editor_UtilityShaders!TShaderMap<FGlobalShaderType>::GetShader<TOneColorVS<1,0> >() [shader.h:1442]
UE4Editor_UtilityShaders!ClearQuadSetup() [clearquad.cpp:50]
UE4Editor_UtilityShaders!DrawClearQuadMRT() [clearquad.cpp:234]
UE4Editor_Engine!<lambda_a0cd6242bc337ea48ad24b70d59678e7>::operator() [canvas.cpp:928]
UE4Editor_Engine!TGraphTask<TEnqueueUniqueRenderCommandType<`FCanvas::Clear'::`2'::ClearCommandName,<lambda_a0cd6242bc337ea48ad24b70d59678e7> > >::ExecuteTask() [taskgraphinterfaces.h:883]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:954]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:701]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:327]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:461]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.16
Target Fix4.16.1
Fix Commit3465978
CreatedApr 26, 2017
ResolvedMay 30, 2017
UpdatedJun 27, 2017
View Jira Issue