Search Unity

Question Shader errors after upgrading to Unity 2020.3.15f2

Discussion in 'Scripting' started by Adam_Weesner, Aug 12, 2021.

  1. Adam_Weesner

    Adam_Weesner

    Joined:
    Aug 6, 2020
    Posts:
    18
    I'm upgraded from Unity 2020.1.17f1 to 2020.3.15f2 and am using the Universal Render Pipeline. After the upgrade, I noticed a couple shaders had compile errors. They mention "UnlitPass.hlsl" & "Varyings.hlsl", which both belong to the URP's ShaderGraph package:
    upload_2021-8-12_22-59-16.png

    upload_2021-8-12_22-59-32.png

    upload_2021-8-12_22-59-56.png

    I've ensured that all packages in the Package Manager are updated.
    Universal RP / Core RP Library / Shader Graph = 10.6.0

    I've converted all project materials via Edit > Render Pipeline > Universal Render Pipeline > Upgrade Project Materials to URP Materials.

    I've also tried removing URP and reinstaller, as well as reimporting the package itself. This is happening on all platforms.

    Any suggestions? I've uploaded the scripts as attachments. Cheers.
     

    Attached Files:

    Last edited: Aug 13, 2021