Description

The same repro steps on 4.26.2 will launch the project successfully.

Packaging a project once to create complete ShaderMaps will work around the issue.

Steps to Reproduce
  1. Launch the 4.27.0 Editor
  2. Create new project
  3. Close the editor
  4. Build and run UnrealFrontend
  5. Once the UnrealFrontend window opens, click "Project Launcher" tab
  6. Press a button on the top left corner and choose the newly created project
  7. Click "Launch" button for WindowsNoEditor  ( It runs on cook on the fly mode )
  8. Wait for the frontend finishes build and cook
  9. The frontend will launch CookOnTheFly server and WindowsNoEditor client
  10. The client will cause crash with following error message
Failed to find shader map for default material WireframeMaterial(/Engine/EngineDebugMaterials/WireframeMaterial.WireframeMaterial)! Please make sure cooking was successful (Contains inline shaders, has GTSM)

 

Callstack

UE4Game.exe!ReportAssert() [g:\workspace\ue4.27.0\ue\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:1644]
UE4Game.exe!FWindowsErrorOutputDevice::Serialize() [g:\workspace\ue4.27.0\ue\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
UE4Game.exe!FOutputDevice::LogfImpl() [g:\workspace\ue4.27.0\ue\engine\source\runtime\core\private\misc\outputdevice.cpp:61]
UE4Game.exe!FMaterial::CacheShaders() [g:\workspace\ue4.27.0\ue\engine\source\runtime\engine\private\materials\materialshared.cpp:2147]
UE4Game.exe!FMaterial::CacheShaders() [g:\workspace\ue4.27.0\ue\engine\source\runtime\engine\private\materials\materialshared.cpp:2050]
UE4Game.exe!UMaterial::CacheShadersForResources() [g:\workspace\ue4.27.0\ue\engine\source\runtime\engine\private\materials\material.cpp:3097]
UE4Game.exe!UMaterial::CacheResourceShadersForRendering() [g:\workspace\ue4.27.0\ue\engine\source\runtime\engine\private\materials\material.cpp:3008]
UE4Game.exe!UMaterial::PostLoad() [g:\workspace\ue4.27.0\ue\engine\source\runtime\engine\private\materials\material.cpp:3670]
UE4Game.exe!UObject::ConditionalPostLoad() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1096]
UE4Game.exe!FAsyncPackage::PostLoadObjects() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:6425]
UE4Game.exe!FAsyncPackage::TickAsyncPackage() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:5590]
UE4Game.exe!FAsyncLoadingThread::ProcessAsyncLoading() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:4099]
UE4Game.exe!FAsyncLoadingThread::TickAsyncThread() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:4857]
UE4Game.exe!FAsyncLoadingThread::TickAsyncLoading() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:4556]
UE4Game.exe!FAsyncLoadingThread::FlushLoading() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncloading.cpp:7023]
UE4Game.exe!FlushAsyncLoading() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\serialization\asyncpackageloader.cpp:645]
UE4Game.exe!LoadPackageInternal() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1147]
UE4Game.exe!LoadPackage() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1469]
UE4Game.exe!ResolveName() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:791]
UE4Game.exe!StaticLoadObjectInternal() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:853]
UE4Game.exe!StaticLoadObject() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:928]
UE4Game.exe!ConstructorHelpersInternal::FindOrLoadObject<UMaterialInterface>() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\public\uobject\constructorhelpers.h:36]
UE4Game.exe!ConstructorHelpers::FObjectFinder<UMaterialInterface>::FObjectFinder<UMaterialInterface>() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\public\uobject\constructorhelpers.h:109]
UE4Game.exe!ALuminAROrigin::ALuminAROrigin() [g:\workspace\ue4.27.0\ue\engine\plugins\lumin\magicleap\source\magicleapar\private\luminarorigin.cpp:29]
UE4Game.exe!UClass::CreateDefaultObject() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\class.cpp:3791]
UE4Game.exe!UObjectLoadAllCompiledInDefaultProperties() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:911]
UE4Game.exe!ProcessNewlyLoadedUObjects() [g:\workspace\ue4.27.0\ue\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:1003]
UE4Game.exe!FEngineLoop::PreInitPostStartupScreen() [g:\workspace\ue4.27.0\ue\engine\source\runtime\launch\private\launchengineloop.cpp:3082]
UE4Game.exe!GuardedMain() [g:\workspace\ue4.27.0\ue\engine\source\runtime\launch\private\launch.cpp:132]
UE4Game.exe!GuardedMainWrapper() [g:\workspace\ue4.27.0\ue\engine\source\runtime\launch\private\windows\launchwindows.cpp:137]
UE4Game.exe!LaunchWindowsStartup() [g:\workspace\ue4.27.0\ue\engine\source\runtime\launch\private\windows\launchwindows.cpp:273]
UE4Game.exe!WinMain() [g:\workspace\ue4.27.0\ue\engine\source\runtime\launch\private\windows\launchwindows.cpp:321]
UE4Game.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

27
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.27
Target Fix4.27.2
Fix Commit18005367
Release Commit18005367
CreatedSep 6, 2021
ResolvedNov 1, 2021
UpdatedDec 1, 2022
View Jira Issue