Share Material Shader Code (Enabled/Disabled) Issues

For some time, when packing my project in Development Build the .exe would sometimes open fine, but on occasions it would just instantly close.

I was suggested to enable “Share Material Shader Code” in Project Settings/Packaging which fixed the issue and the packaged project launched 100% of the time.

After a week of having no crashes and packaging numerous times with no issues i’m suddenly hit with the following error

“Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2797]
Failed to find shader map for default material WorldGridMaterial(/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial)! Please make sure cooking was successful (No inline shaders, null GTSM)”

Searching this error code it was suggested to disable “Share Material Shader Code”

So I tried that, and the fatal error dissapears but i’m left with the project instantly closing again

At this stage i’m left with 2 alternatives, the project occasionally crashing on start or getting a fatal error.

After one or the other alternatives above, i have to package again by either enabling or disabling this setting and the project launches, but after making changes and packaging again i’m encountering the same issue either crash or fatal error

Is there something i’m missing? Is this a known bug?

I’m currently on UE 5.3.2