Summary
This only happens after i migrated a project to 5.8, everything compiles fine in 5.7.
When I compile lighting, it says MI_BrickPlaster_Layered is missing expected shader type TShadowDepthPSCombined. and crashes the editor. The material in question is a layered, height blended brick/plaster material.
What Type of Bug are you experiencing?
Rendering (Graphics / Niagara)
Steps to Reproduce
Install 5.8
Create a height blended, nanite displaced two layered material in 5.7
Migrate project.
Compile lighting.
Expected Result
The usual lighting compilation log shows up, no crash.
Observed Result
Crash and error code MI_BrickPlaster_Layered is missing expected shader type TShadowDepthPSCombined.
Affects Versions
5.8
Platform(s)
Windows
For crash reports, include your callstack
Assertion failed: ShaderMapId.ContainsShaderType(ShaderType, kUniqueShaderPermutationId) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShader.cpp] [Line: 2565]
Material shader map M_Blend_Master from material /Game/BlacksmithHouse/Materials/MI_BrickPlaster_Layered is missing expected shader type TShadowDepthPSCombined
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
Additional Notes
5.8 has two major bugs that are prohibiting from updating my projects at this point. I can’t wait for a more stable version. (The second bug is niagara ribbons on the GPU look weird compared to on the CPU.)