Search Unity

Shader working in unity version 5.3.8f1 is not working in unity version 5.6.3p1

Discussion in 'Shaders' started by Namratha_Sannalike, Feb 19, 2020.

  1. Namratha_Sannalike

    Namratha_Sannalike

    Joined:
    Feb 18, 2020
    Posts:
    4
    The shader which was working fine in unity 5.3.8f1 in windows 10 is not working in unity 5.6.3p1 , we are just seeing a black screen , any idea what can be the reason or what changes we need to do to make it work in unity 5.6.3 ? The shader is attached with this thread
     

    Attached Files:

  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,028
    Both Unity 5.3 and Unity 5.6 are no longer supported.
     
  3. Namratha_Sannalike

    Namratha_Sannalike

    Joined:
    Feb 18, 2020
    Posts:
    4
    But the shader is working fine in unity 5.3
     
  4. Namratha_Sannalike

    Namratha_Sannalike

    Joined:
    Feb 18, 2020
    Posts:
    4
    Any idea what API change could have caused this issue ?
     
  5. Namratha_Sannalike

    Namratha_Sannalike

    Joined:
    Feb 18, 2020
    Posts:
    4
    We have ported the project to Unity 2018.2 version and still the shader is not working , we are rendering the shader output using Graphics.Blit() function and we suspect there might be an issue with this function but we are not sure about it. Posteffect script which has the Graphics.Blit() function is attached with this post.
     

    Attached Files:

  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,028
    Graphics.Blit should be working.
    Unity 2018.2 is no longer supported as well, 2018.4 is ;)
    I would try debugging the shader first (e.g. checking if a simple copy shadeer works).