Author Topic: Shader not working in 2020.2  (Read 94 times)

Teh_Vang

  • Newbie
  • *
  • Posts: 3
    • View Profile
Shader not working in 2020.2
« on: February 03, 2021, 01:53:20 PM »
Hello,

I just bought your shader today and imported it into one of my projects. Followed directions to import the shader and added the correct textures and the project is set to use URP.
The shader is rendering Pink on both my asset and on the provided prefab. So just wanted to know if the shader is compatible with this version of Unity.

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1698
    • View Profile
    • Tanuki Digital
Re: Shader not working in 2020.2
« Reply #1 on: February 03, 2021, 08:19:01 PM »
Hello,
Which shader/product are you posting about?  All my products have been tested to work in 2020.x, however most of them are not compatible with URP or HDRP.

Teh_Vang

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Shader not working in 2020.2
« Reply #2 on: February 03, 2021, 08:47:26 PM »
Sorry forgot to mention the shader, it's the Advance eye shader.

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1698
    • View Profile
    • Tanuki Digital
Re: Shader not working in 2020.2
« Reply #3 on: February 03, 2021, 09:08:31 PM »
Ah I see.  Yes EyeAdvanced should have URP compatibility!

1. First you setup your scene/project for URP.
2. Then import EyeAdvanced into your project.
3. Once import is complete, go to the EyeAdvanced/_SRP folder and double-click the URP package files.  This will replace the relevant shaders/materials with URP-compatible versions.

Then you can take the EyeAdvanced prefabs and add them into your scene/character.

After performing the above do you still have problems in 2020.2?  If so, can you look at your URP settings and tell me which version of URP you are using?  The current version of EyeAdvanced is tested with URP version 7.1.8.

Teh_Vang

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Shader not working in 2020.2
« Reply #4 on: February 04, 2021, 12:38:22 PM »
Thank you, importing the URP packaged fixed it.

Chingwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 1698
    • View Profile
    • Tanuki Digital
Re: Shader not working in 2020.2
« Reply #5 on: February 04, 2021, 02:15:17 PM »
Great, glad to hear it's working for you!