Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Unity 2021.3 URP 12.1.6 upgrade from 2020.3 broken normal map

Discussion in 'Universal Render Pipeline' started by apiotuch_unity, Oct 4, 2022.

  1. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
  2. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
    I had the same problem when I updated from Unity 2020.3.42 to 2021.3.15.

    See the screenshot below.
    The first one has TargetPlatform as PC, left with normal map, right without normal map. The other parameters are the same, so the colors come out almost the same.
    However, when TargetPlatform is set to iOS, the colors on the left and right are completely different.

    pc.png
    ios.png
     
  3. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
    I have confirmed that this is a problem not only with the Editor, but also with the player we built.
     
  4. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
    Anyone?
    I have sent a reproduced project to Unity regarding this as a bug report, but have received no response.
    Does anyone know of any workarounds, etc.?
     
  5. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
    A team member found the following change, which was changed in 12.0.0 and fixed in 14.x, to be suspicious.
    The change was made a whole year ago and is still not reflected in 12.x.
    https://github.com/Unity-Technologi...522c85290ca028d73c6666727722589e1173ac3da4716
    https://github.com/Unity-Technologies/Graphics/commit/d5e1860975d956794c7c415f01e73342ff8af600

    Since this change is one commit in a huge PullRequest, I can't decide if I should just incorporate this change.
    https://github.com/Unity-Technologies/Graphics/pull/6748
     
  6. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
  7. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    I am just starting to test 2022 for other features, so if I have time I will double check that. But it may be a few days at least before I can get to it.
     
  8. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    I tested it today and the issue still exists with Unity 2022.2.1f1 Universal RP 14.0.4.
     
  9. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    135
    Really? Maybe my problem and yours are different ...
     
  10. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    I have not Tested with 2022.2.2f1 though. And I know there are some updates with that related with mobile URP so I will wait and see with that. I don't know when I will test with that version atm.