The TargetPlatform is WindowsNoEditor and the build configuration is Shipping.
Im trying to package the third person game which is a template game of engine.Everything is fine during Packaging.But when I try to run the .exe file,a fatal error occurs:
Failed to find shader map for WorldGridMaterial,Please make sure cooking was successful( contains inline shaders, has GTSM)
My engine version is 4.25.0 of source code.
The TargetPlatform is WindowsNoEditor and the build configuration is Shipping.I have trace the debugging code and find a fact that It is normal to be failed according to the source code(function FMaterial::CacheShaders() in MaterialShared.cpp)
did you figure out what caused this issue?
i have the issue too,anybody have figured out?
I fixed it on Unreal 4.26.2
project settings
→ platforms
→ your platform's material quality
, turn OFF Discard Quality During Cook
.
I hope it works fo you too. Good luck!