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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 9.0.0-preview.14):
Fixed in SRP 9.0.0-preview.14 and SRP 10.1+