Missing cached shader map - Error avoids to build

Hi,

I’m trying to build my project but I’m having problems. This is what the log says:

UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND COMPLETED **********
UATHelper: Packaging (Windows (64-bit)): ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Cleaning cooked data.
UATHelper: Packaging (Windows (64-bit)): Running UE4Editor Cook for project C:\Unreal\TerraVerde_LightBake\TerraVerde_Build.uproject
UATHelper: Packaging (Windows (64-bit)): Commandlet log file is C:\Program Files\Epic Games\UE_4.21\Engine\Programs\AutomationTool\Saved\Cook-2019.03.20-00.18.29.txt
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\Win64\UE4Editor-Cmd.exe C:\Unreal\TerraVerde_LightBake\TerraVerde_Build.uproject -run=Cook -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -skipeditorcontent -abslog=“C:\Program Files\Epic Games\UE_4.21\Engine\Programs\AutomationTool\Saved\C
ook-2019.03.20-00.18.29.txt” -stdout -CrashForUAT -unattended -NoLogTimes -UTF8Output
UATHelper: Packaging (Windows (64-bit)): LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default.
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: Running engine for game: TerraVerde_Build
UATHelper: Packaging (Windows (64-bit)): LogStreaming: Display: Took 0.099s to configure plugins.
UATHelper: Packaging (Windows (64-bit)): LogStreaming: Display: Took 0.001s to delete old logs.
UATHelper: Packaging (Windows (64-bit)): LogConsoleManager: Warning: Setting the console variable ‘r.Streaming.PoolSize’ with ‘SetByScalability’ was ignored as it is lower priority than the previous ‘SetByProjectSetting’. Value remains ‘4096’
PackagingResults: Warning: Setting the console variable ‘r.Streaming.PoolSize’ with ‘SetByScalability’ was ignored as it is lower priority than the previous ‘SetByProjectSetting’. Value remains ‘4096’
UATHelper: Packaging (Windows (64-bit)): LogHAL: Display: Platform has ~ 32 GB [34309300224 / 34359738368 / 32], which maps to Largest LargestMinGB=32, LargerMinGB=12, DefaultMinGB=8, SmallerMinGB=6, SmallestMinGB=0)
UATHelper: Packaging (Windows (64-bit)): LogConsoleManager: Warning: Setting the console variable ‘r.Streaming.PoolSize’ with ‘SetByScalability’ was ignored as it is lower priority than the previous ‘SetByProjectSetting’. Value remains ‘4096’
PackagingResults: Warning: Setting the console variable ‘r.Streaming.PoolSize’ with ‘SetByScalability’ was ignored as it is lower priority than the previous ‘SetByProjectSetting’. Value remains ‘4096’
UATHelper: Packaging (Windows (64-bit)): LogStreaming: Display: Took 0.523s to InitEngineTextLocalization.
UATHelper: Packaging (Windows (64-bit)): LogTemp: Display: Loaded TP AllDesktopTargetPlatform
UATHelper: Packaging (Windows (64-bit)): LogTemp: Display: Loaded TP MacClientTargetPlatform
UATHelper: Packaging (Windows (64-bit)): LogTemp: Display: Loaded TP MacNoEditorTargetPlatform

.
.
.

UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Sky_Panning_Clouds2, compiling.
UATHelper: Packaging (Windows (64-bit)): LogCook: Display: Cooked packages 333 Packages Remain 749 Total 1082
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Sofa, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material 1M_mainSimpleMat, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_SunsetBricks_Floors, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_SunsetBricks_Floors_pool, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Glass, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_HDScan, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Fabric_Sunset_Cushion, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Water, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_FloorBase, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_BasicMaster, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material Nature_Plant_01_Mat, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material Tree_Background_Mat, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material MASTER_Material, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_BackGround, compiling.
UATHelper: Packaging (Windows (64-bit)): LogMaterial: Display: Missing cached shader map for material M_Shrub, compiling.
UATHelper: Packaging (Windows (64-bit)): LogCook: Display: Cooked packages 383 Packages Remain 749 Total 1132
UATHelper: Packaging (Windows (64-bit)): LogCook: Display: Cooked packages 383 Packages Remain 748 Total 1131
UATHelper: Packaging (Windows (64-bit)): LogCook: Display: Cooked packages 383 Packages Remain 747 Total 1130
UATHelper: Packaging (Windows (64-bit)): LogCook: Display: Cooked packages 383 Packages Remain 746 Total 1129
UATHelper: Packaging (Windows (64-bit)): Took 84.9322883s to run UE4Editor-Cmd.exe, ExitCode=-1073740791
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

Does somebody knows what that “Missing cached shader”, how can I solve this?

Thankx

Same issue here, could someone give some response for this ? i cant find how to resolve this

I’m getting this left and right when I choose to cook “by the book” for android to deploy to the Quest.

I’m having the same problem after migrating a map to an existing project…
It seems that the map should be build before migrating, otherwise can create conflicts on the DDC cache system, which seems shared between both projects.

1 Like

What is the solution for this if trying to build using Cesium 3D tileset?