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
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
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
- [Linux] Input.mouseScrollDelta is inconsistent when limiting framerate
- Undoing the branch rotation resets only wireframe and not mesh when undoing the action first time after launching the project
- Asset Bundles retain their previous hash and CRC values when an object within a bundle is changed and rebuilt
- APV Reflection Probe Normalization breaks when SSGI is enabled
- Default Custom Components in project have Library counterparts
Resolution Note (fix version d5a94d6 ):
Fixed in: 2021.2.0b3