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

Shader System

-

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

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0b6

  2. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.36f1

Comments (4)

  1. rundownstrad

    Oct 19, 2023 07:47

    We're making online market research, price tracking, and business transactions simpler than ever for everyone from tiny traders to big manufacturers.

  2. poojapandit

    May 01, 2023 09:45

    nice

  3. robertusa0106

    Oct 27, 2022 03:17

    The information you shared is very accurate, it gives me the knowledge that I need to learn. Thank you for sharing this useful information.

  4. manishaajjo

    Oct 19, 2022 08:15

    Aajjo is building a transparent, digital platform for businesses of all shapes and sizes. From small traders to large manufacturers, we're making it easier than ever to research new markets, track prices, and conduct business over the internet. The sky's the limit with Aajjo.
    Visit: aajjo.com

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.