Reproduction steps:
1. Open the user's attached "DecalSample.zip" project
2. Go to Builder > Build > Android_WithBundle
3. On Android, Run the "test.apk" file created in the "Builds" folder
4. See that the shadow is rendered in the Scene
5. Open the Command Prompt and run this command (UNITY_PATH -quit -batchmode -silent-crashes -nographics -executeMethod ProjectBuilder.ProjectBuilderEditor.Build_Android_WithBundle)
6. On Android, Run the "test.apk" file created in the "Builds" folder
Expected result: The shadow is rendered in the Scene
Actual: The shadow is rendered with pink textures or isn't rendered at all
Reproducible with: 2022.1.17f1, 2022.2.0b1
Not reproducible with: 2022.2.0b2, 2022.2.0b8, 2023.1.0a11
Couldn't test with: 2020.3.39f1, 2021.3.10f1 (Shaders break after downgrade)
Reproducible with these devices:
Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
Samsung Galaxy S22 (SM-S901B), Android 12, CPU: Exynos 2200, GPU: Ltd.
Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
Couldn't test with:
VLNQA00358 - iPhone 12, 14.1 iOS (project breaks)