[4.27.2] Failed to find shader map for default material DefaultDeferredDecalMaterial android crash

After packaging my game to android ASTC it crashes on startup with the following log

Failed to find shader map for default material DefaultDeferredDecalMaterial

The cook was working untill I switched from 4.26.1 to 4.27.2

There is usually a bit of rework regarding shaders between engine versions. The error message “Failed to find shader map for default material DefaultDeferredDecalMaterial” indicates that the Unreal Engine is unable to find the compiled shader map for the DefaultDeferredDecalMaterial material. This can be caused by a number of factors, including:

  • Missing or corrupted shader cache files
  • Incorrect target hardware settings
  • Incorrect shader platform settings

To resolve this issue, you can try the following steps:

  • Rebuild the shader cache: In the Unreal Editor, go to “Window > Developer Tools > Shader Compiler” and click on “Rebuild Shader Cache”. This will recompile all the shaders and may resolve the issue.
  • Check the target hardware settings: Make sure the target hardware settings in your Android project match the specifications of the device you are testing on. You can check these settings in the Unreal Editor under “Edit > Project Settings > Platforms > Android”.
  • Check the shader platform settings: Make sure the correct shader platform is selected for your Android project. You can check these settings in the Unreal Editor under “Edit > Project Settings > Platforms > Android > RHI”.