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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [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
Resolution Note (fix version d5a94d6 ):
Fixed in: 2021.2.0b3