Description

When Launching, the level will crash as long as the world grid material is applied in the scene and needs to be compiled. If you attempt to package the project it will fail with the error "unable to compile default material".

Steps to Reproduce
  1. Create blank project
  2. Enable forward Shading and restart
  3. Make sure you are in the default map with the World Grid Material Applied to the floor
  4. Launch Game

RESULT
Crash
EXPECTED
Game launches correctly

Callstack

[Link Removed]

UE4Editor_Engine!FShaderCompilingManager::ProcessCompiledShaderMaps() shadercompiler.cpp:1620 
UE4Editor_Engine!FShaderCompilingManager::FinishCompilation() shadercompiler.cpp:2040 
UE4Editor_Engine!FMaterialShaderMap::Compile() materialshader.cpp:1400 
UE4Editor_Engine!FMaterial::BeginCompileShaderMap() materialshared.cpp:1709 
UE4Editor_Engine!FMaterial::CacheShaders() materialshared.cpp:1635 
UE4Editor_Engine!FMaterial::CacheShaders() materialshared.cpp:1539 
UE4Editor_Engine!UMaterial::CacheShadersForResources() material.cpp:2017 
UE4Editor_Engine!UMaterial::CacheResourceShadersForCooking() material.cpp:2002 
UE4Editor_Engine!UMaterial::BeginCacheForCookedPlatformData() material.cpp:2654 
UE4Editor_UnrealEd!<lambda_ff87856e9d68509deb3bbf5f8b1d602b>::operator() cookontheflyserver.cpp:1739 
UE4Editor_UnrealEd!UCookOnTheFlyServer::TickCookOnTheSide() cookontheflyserver.cpp:1992 
UE4Editor_UnrealEd!UCookOnTheFlyServer::Tick() cookontheflyserver.cpp:720 
UE4Editor_UnrealEd!FTickableEditorObject::TickObjects() tickableeditorobject.h:17 
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1181 
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:371 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2834 
UE4Editor!GuardedMain() launch.cpp:156 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

7
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.13
Target Fix4.14
CreatedSep 26, 2016
ResolvedOct 19, 2016
UpdatedApr 27, 2018