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
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
- SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
- OnEndDrag event not triggered when losing Editor focus during simultaneous Left and Right mouse drag
Resolution Note (fix version 9.0.0-preview.14):
Fixed in SRP 9.0.0-preview.14 and SRP 10.1+