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
- The text is pushed down when double-clicking on the Visual Element to edit it in UI Builder
- The Inspector rounds up float values up to a maximum of 7 digits and overwrites the actual values in the file when saving the asset
- Distant Shadowmask does not cast Shadows on Terrain when baking with Adaptive Probe Volumes
- UI Toolkit Debugger "Text Overlays" dropdown is opened in the wrong position when Dynamic Atlas Viewer is opened
- NullReferenceExceptions are thrown on Editor launch when the Project window was locked in the previous project
Resolution Note (fix version 9.0.0-preview.14):
Fixed in SRP 9.0.0-preview.14 and SRP 10.1+