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
- Memory leaks when Instantiating Objects with SerializeReference
- Currently selected Action Map switches to the first Action Map in the list and it's first Action when editing the Binding Path of a newly created Action
- "F" default focusing Unity shortcut zooms out when the first time focusing the GameObject
- DropdownField options added with PointerDownEvent are not shown when clicking the DropddownField for the first time
- References are reset to "None" when opening the project
Resolution Note (fix version 9.0.0-preview.14):
Fixed in SRP 9.0.0-preview.14 and SRP 10.1+