Search Issue Tracker
Duplicate
Votes
0
Found in
2022.3.18f1
2023.2.7f1
2023.3.0b4
Issue ID
UUM-61107
Regression
No
Shader error in Builds when changing Keyword names in Shadergraph after switching on Strict shader variant matching
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
-
Resolution Note:
I checked with the branch that fixes the UUM-52205 case and it works as expected.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-52205
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner "Open source code" navigates to the incorrect file or test
- Physics.IgnoreCollision() function is not applied when toggling the GameObject.SetActive()
- Rich Text color tag does not apply when color is set by name
- The caret (text cursor) symbol does not move one word when the "Option" key and arrow keys are used to move the caret
- Vertical mapping of most characters is incorrect when using a Texture on each character
This is a duplicate of issue #UUM-52205