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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version d5a94d6 ):
Fixed in: 2021.2.0b3