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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
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.