Search Issue Tracker

Fixed in 11.0.0



Found in [Package]


Issue ID




ShaderGraph with Unlit Material Type is SRP Batcher incompatible when a Node is connected to Vertex Position

Package: Shader Graph


How to reproduce:
1. Open a new URP project
2. Import the user's attached "HexagonsShader.shadergraph"
3. Select the "HexagonsShader" Shader Graph in the Project window
4. Observe the Inspector

Expected result: No errors in the Inspector window
Actual result: "UnityPerMaterial cbuffer inconsistent size inside a subshader (ShadowCaster)" error is thrown

Reproducible with: 10.3.2 (2020.3.1f1)
Not reproducible with: 11.0.0 (2021.1.0b12), 12.0.0 (2021.2.0a9)
Could not test with: 7.5.3 (2019.4.22f1) - Shader Graph Asset can't be loaded

  1. Resolution Note (fix version 11.0.0):

    Fixed in: 11.0.0 (2021.1.0b12)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.