DavidCR
(David_CR97)
October 4, 2023, 8:08pm
1
Hello,
I’m having one issue while packaging my project.
It gives me the error below, and it fails.
LowLevelFatalError
[File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2802]
Failed to find shader map for default material WorldGridMaterial(/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial)! Please make sure cooking was successful (No inline shaders, null GTSM)
I already tried to delete temporary folders and verify Unreal version, but that didn’t work.
It’s only happening on Shipping Mode. I can package the project with success. But I can’t launch the game on my device.
Someone knows why this happens?
Thanks in advance.
1 Like
DavidCR
(David_CR97)
October 7, 2023, 10:17am
2
I tried to
I noticed that is working when I disable the ‘Generate Chunks’ setting. But I would like to keep it on.
1 Like
DavidCR
(David_CR97)
October 7, 2023, 2:51pm
3
Steps to Replicate:
Create a clean C++ project in UE5.3,
enable ‘Generate Chunks’,
package in Shipping Mode
and it crashes.
LowLevelFatalError [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2802]
Failed to find shader map for default material WorldGridMaterial(/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial)! Please make sure cooking was successful (No inline shaders, null GTSM)
0x00007ff7d4d7dc56 DummyProject-Win64-Shipping.exe!FMaterial::CacheShaders() []
0x00007ff7d4d3e965 DummyProject-Win64-Shipping.exe!UMaterial::CacheShadersForResources() []
0x00007ff7d4d3e74e DummyProject-Win64-Shipping.exe!UMaterial::CacheResourceShadersForRendering() []
0x00007ff7d4d464be DummyProject-Win64-Shipping.exe!UMaterial::PostLoad() []
0x00007ff7d2a2d1d7 DummyProject-Win64-Shipping.exe!FAsyncPackage::PostLoadDeferredObjects() []
0x00007ff7d2a30125 DummyProject-Win64-Shipping.exe!FAsyncLoadingThread::ProcessLoadedPackages() []
0x00007ff7d2a35a6a DummyProject-Win64-Shipping.exe!FAsyncLoadingThread::TickAsyncLoading() []
0x00007ff7d2a282d0 DummyProject-Win64-Shipping.exe!FAsyncLoadingThread::FlushLoading() []
0x00007ff7d2a40865 DummyProject-Win64-Shipping.exe!FlushAsyncLoading() []
0x00007ff7d2b75c6a DummyProject-Win64-Shipping.exe!LoadPackageInternal() []
0x00007ff7d2b75aea DummyProject-Win64-Shipping.exe!LoadPackage() []
0x00007ff7d2b7a336 DummyProject-Win64-Shipping.exe!ResolveName() []
0x00007ff7d2b7efc8 DummyProject-Win64-Shipping.exe!StaticLoadObjectInternal() []
0x00007ff7d2b7e879 DummyProject-Win64-Shipping.exe!StaticLoadObject() []
0x00007ff7d4d429f2 DummyProject-Win64-Shipping.exe!UMaterialInterface::InitDefaultMaterials() []
0x00007ff7d2a542d2 DummyProject-Win64-Shipping.exe!UClass::CreateDefaultObject() []
0x00007ff7d4d45d7b DummyProject-Win64-Shipping.exe!UMaterialInterface::PostCDOContruct() []
0x00007ff7d2a542d2 DummyProject-Win64-Shipping.exe!UClass::CreateDefaultObject() []
0x00007ff7d2b54821 DummyProject-Win64-Shipping.exe!UObjectInitialized() []
0x00007ff7d2b4ed50 DummyProject-Win64-Shipping.exe!ProcessNewlyLoadedUObjects() []
0x00007ff7d52b6e60 DummyProject-Win64-Shipping.exe!FEngineLoop::PreInitPostStartupScreen() []
0x00007ff7d52b38b8 DummyProject-Win64-Shipping.exe!GuardedMain() []
0x00007ff7d52b3b9a DummyProject-Win64-Shipping.exe!GuardedMainWrapper() []
0x00007ff7d52b4bac DummyProject-Win64-Shipping.exe!LaunchWindowsStartup() []
0x00007ff7d52bcea4 DummyProject-Win64-Shipping.exe!WinMain() []
0x00007ff7d6b4acd2 DummyProject-Win64-Shipping.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ff808ca257d KERNEL32.DLL!UnknownFunction []
I’m still looking for a reason and a solution.
3 Likes
DavidCR
(David_CR97)
October 8, 2023, 9:30am
4
It’s the best solution that I’ve found.
I still can’t launch on my device, but I can package it in .pak files and play it from there.
I tried a few things as:
clean temporary files,
verify and reinstall UE
recompile all shaders
reorganize content folders
move used engine’s content (materials, textures) that I was using in my character into its own character’s folder.
1 Like
system
(system)
Closed
November 7, 2023, 9:31am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.