How to reproduce:
1. Open the user attached project “StrictShaderVariantMatching.zip”
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Run And Build (File>Build And Run)
Expected result: Cube GameObject is rendered in the build
Actual result: Cube GameObject isn’t rendered in the build
Reproducible with: 2022.1.0a7, 2022.2.3f1, 2023.1.0a26
Not reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.1.0a6
Reproduced on: macOS 13.0.1 (Intel)
Note: The Cube GameObject is rendered if the Cast Shadows setting is enabled in the URP-HighFidelity.asset settings (Assets/Settings) under Lights, Additional lights