Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.8f1
2021.2
2022.1
Issue ID
1374639
Regression
No
Comment on UnityWorldSpaceViewDir in UnityCG.cginc does not match the function behavior
Reproduction steps:
1. Open the "UnityCG.cginc" file
2. Observe comment above UnityWorldSpaceViewDir function
Expected result: Comment indicates that the argument is supposed to be in world space
Actual result: Comment claims that the argument is in object space
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Note:
- UnityCG.cginc is located:
-- {unity install path}/Data/CGIncludes/UnityCG.cginc on Windows
-- /Applications/Unity/Unity.app/Contents/CGIncludes/UnityCG.cginc on Mac
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b6
Resolution Note (fix version 2019.4):
Fixed in 2019.4.36f1