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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.