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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.