Search Issue Tracker
Fixed in 9.0.0-preview.14
Votes
0
Found in [Package]
8.2.0
Issue ID
1265932
Regression
No
[ShaderGraph] invalid subscript 'cullFace' error is thrown in console when using a Two Sided shader on a Skinned Mesh Renderer
How to reproduce:
1. Open the project from the attached file "1265932.zip"
2. From Assets open "New Shader Graph" file
3. Hover over PBR Master node and click on the cog icon
4. Enable the Two Sided setting
5. Save the asset and open the Game View
6. Select the "Cube" GameObject and inspect the Game View and the Console
Expected result: Cube GameObject is rendered without flickering and errors in the Console
Actual result: Cube is flickering and "Shader error in 'Shader Graphs/New Shader Graph': invalid subscript 'cullFace' at line 2938 (on d3d11)" error is thrown in the console.
Not reproducible with: 9.0.0-preview.14 (2020.2.0a21), 10.0.0-preview.27 (2020.2.0a21)
Reproducible with: 4.10.0-preview(2018.4.26f1), 7.4.3 (2019.4.9f1), 8.2.0 (2020.1.3f1, 2020.2.0a21)
Notes:
- Does not reproduce on a Mesh Renderer
- To see the flickering you have select the Cube GameObject and update the Game View (move mouse in and out of the Game View)
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
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
Resolution Note (fix version 9.0.0-preview.14):
Fixed in SRP 9.0.0-preview.14 and SRP 10.1+