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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
Resolution Note (fix version d5a94d6 ):
Fixed in: 2021.2.0b3