Search Issue Tracker
Fixed in 13.0.0
Fixed in 12.0.0
Votes
1
Found in [Package]
12.0.0
Issue ID
1358357
Regression
Yes
[URP] "Shader error in 'Master'" errors are thrown when opening a Shader Graph
How to reproduce:
1. Open the user's project
2. Open the "Assets -> SG_Lit" Shader Graph file in the Project Browser
3. Observe the Console window
Expected result: no errors are thrown in the Console window
Actual result: "Shader error in 'Master'" errors are thrown in the Console window
Reproducible with: 12.0.0 (2021.2.0b3, 2021.2.0b9, 2022.1.0a3, 2022.1.0a7)
Not reproducible with: 10.6.0 (2020.3.17f1), 11.0.0 (2021.1.19f1), 12.0.0 (2021.2.0b2, 2022.1.0a1, 2022.1.0a2)
Couldn't test with: 7.7.1 (2019.4.30f1) (user's project is not compatible due to low Entities Package version)
Errors that are thrown:
Shader error in 'Master': syntax error: unexpected token ')' at line 495 (on metal)
Shader error in 'Master': undeclared identifier 'UNITY_ACCESS_HYBRID_INSTANCED_PROP' at line 495 (on metal)
Shader error in 'Master': syntax error: unexpected token ')' at line 967 (on metal)
Shader error in 'Master': undeclared identifier 'UNITY_ACCESS_HYBRID_INSTANCED_PROP' at line 967 (on metal)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Resolution Note (fix version 13.0.0):
Fixed in 13.0.0 (2022.1.0a11 and above)
Resolution Note (fix version 12.0.0):
Fixed in 12.0.0 (2021.2.0b14 and above)