Search Issue Tracker
Fixed in 12.1.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1340538
Regression
No
Sample Reflected Cubemap with Camera Direction as input gives an error
Reproduction steps:
1. Open project "case_1340538.zip"
2. In the Assets folder, select "New Shader Sub Graph" Sub Graph Asset
3. In the Inspector tab, click the button "Open Shader Editor"
4. Observe error in Sample Reflect Cube
Expected result: Camera Direction(3) is inputted to Sample Reflected Cubemap
Actual result: Camera Direction(3) isn't inputted to Sample Reflected Cubemap
Reproducible with: 7.6.0 (2019.4.28f1), 10.5.0 (2020.3.12f1), 11.0.0 (2021.1.11f1), 12.0.0 (2021.2.0a21)
Could not test with: 2018.4.36f1 (Doesn't have Sample Reflected Cubemap node)
Error: I-value specifies const object at line 173
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 12.1.0):
An expression was being negated which caused two minus signs to become operator-- on a constant which caused this error. Parenthesis were added to group the expression and fix this.