Search Issue Tracker

Fixed in d5a94d6

Votes

3

Found in [Package]

12.0.0

Issue ID

1319655

Regression

No

Shader Graph errors are thrown when a property's Shader Declaration is set to Hybrid Per Instance and Exposed is disabled

Package: Shader Graph

-

How to reproduce:
1. Open the user's attached "InstanceTest.zip" project
2. Open the "InstanceTest" Shader Graph
3. Press "Save Asset" in the Shader Graph window
4. Observe the Console log

Expected result: No errors and Material is not pink in the Game view
Actual result: "Shader error in 'Shader Graphs/InstanceTest': invalid subscript 'TestFloat_Array' at line 5978 (on d3d11)" error is thrown and the Material is pink

Reproducible with: 10.3.2 (2020.3.0f1), 11.0.0 (2021.1.0b10), 12.0.0 (2021.2.0a4)
Could not test with: 7.5.3 (Hybrid Per Instance property is missing)

Note:
- Could not reproduce this issue on a fresh project

  1. Response avatar

    Resolution Note (fix version d5a94d6 ):

    Fixed in: 2021.2.0b3

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.