Failed to find shader map for default material WorldGridMaterial!

Just a quick update. I finally got it working although I do not fully understand the cause of the problem.

  • In ProjectSettings under Platform/Linux I disabled Vulkan SM5 support (in our project SM5 is not required and it is fine to have only SM6 enabled, you might not wanna do that in your project if you are targeting older hardware.)

  • In ProjectSettings under Project/Packaging I disabled Share Material Shader Code. With this disabled, shader code is now packaged for each material in the project instead of in individual files. This increases the final package size.

Not happy with this solution but for now it will have to suffice.