Failed to find shader map for default material WorldGridMaterial in windows shipping build

Hi!
I encountered an issue with my packaged game. As I try to start a shipping build on windows it will crash immediately, while the development build runs without any issues.
I started to have this error a few days ago, even tho I didn’t change anything in the engine (builded from source) nor in the project that could be relevant to the default WorldGridMaterial in any way. Also I reverted my modifications just to be sure but the crash still happens.
I found some Warnings in the building logs that were material related and fixed them, but the crash didn’t get solved.

Here is the message I get in the crash window:
LowLevelFatalError [File:G:\UnrealEngineSource\UnrealEngineSourceCode\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2713]
Failed to find shader map for default material WorldGridMaterial(/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial)! Please make sure cooking was successful (No inline shaders, null GTSM)

Any idea what can cause this?

Thanks in advance!

I could create a shipping build that works now.
I had to set the “RequireRelaunch” to false in the engine’s OnlineSubsystemSteam.cpp in the “ConfigureSteamInitDevOptions” function.
Don’t know why it caused this issue, but now it works.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.