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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
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.