Description

This is a common and longstanding crash that has occurred since at least 4.11. However users have not provided any descriptions of their actions when the crash occurred.

Source Context

 107       /**
  108        * Either creates a new instance of this type or returns an equivalent existing shader.
  109        * @param Material - The material to link the shader with.
  110        * @param CurrentJob - Compile job that was enqueued by BeginCompileShader.
  111        */
  112       FShader* FMeshMaterialShaderType::FinishCompileShader(
  113       	const FUniformExpressionSet& UniformExpressionSet, 
  114       	const FSHAHash& MaterialShaderMapHash,
  115       	const FShaderCompileJob& CurrentJob,
  116       	const FShaderPipelineType* ShaderPipelineType,
  117       	const FString& InDebugDescription)
  118       {
  119       	check(CurrentJob.bSucceeded);
  120 ***** 	check(CurrentJob.VFType);
  121       
  122       	FShaderType* SpecificType = CurrentJob.ShaderType->LimitShaderResourceToThisType() ? CurrentJob.ShaderType : NULL;
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: CurrentJob.bSucceeded [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Engine\Private\Materials\MeshMaterialShader.cpp] [Line: 120]

UE4Editor_Engine!FMeshMaterialShaderType::FinishCompileShader() [meshmaterialshader.cpp:121]
UE4Editor_Engine!FMaterialShaderMap::ProcessCompilationResultsForSingleJob() [materialshader.cpp:1444]
UE4Editor_Engine!FMaterialShaderMap::ProcessCompilationResults() [materialshader.cpp:1506]
UE4Editor_Engine!FShaderCompilingManager::ProcessCompiledShaderMaps() [shadercompiler.cpp:1788]
UE4Editor_Engine!FShaderCompilingManager::ProcessAsyncResults() [shadercompiler.cpp:2391]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3315]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

8
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.11, 4.12, 4.13, 4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.21, 4.23
Target Fix4.24
Fix Commit9874295
Main Commit9874296
Release Commit9874295
CreatedDec 1, 2017
ResolvedOct 28, 2019
UpdatedJan 25, 2021
View Jira Issue