Reproduction steps
1. Open the attached project “ReproProject”
2. Ensure “Strict shader variant matching” is enabled at (menu: Edit > Project Settings > Player > Other Settings > Shader Settings)
3. Open “Assets/StripOnlyTest.shadergraph”, In the ShadeGraph Window, change the keyword (e.g. ColorMOde to ColorMOdeVH) and save the asset
4. Build the Project
5. Observe the app screen
Expected result: A black cube is displayed
Actual result: Either a cube is not rendered at all, or it is rendered with the pink visual artifact with some debug shader errors “Shader Shader Graphs/StripOnlyTest, subshader 0, pass 3, stage vertex: variant <no keywords> not found.”
Reproducible with: 2022.3.18f1, 2023.2.7f1, 2023.3.0b4
Couldn’t test with: 2021.3.34f1 (There is no Strict shader variant matching option)
Reproducible on: macOS (Intel) 14.2.1, Windows 10 (10.0.19045) 64bit (by user)
Note: Reproducible on Android devices