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 Shader Not Working After Unity Update

Discussion in '2D' started by HomeBearJosh, Jul 31, 2023.

  1. HomeBearJosh

    HomeBearJosh

    Joined:
    Dec 13, 2017
    Posts:
    32
    I've upgraded from 2020.3.34f1 to 2023.1.0f1 and this seems to have broken something with a shader I'm using in my game.

    The result has changed from:
    2020.3.34f1_shaderWorks.png
    To:
    2023.1.0f1_shaderNotWorking.png

    Only the LineRenderer seems to be working; the shader is entirely absent.
    I've been trying to see what's going wrong but the only thing out of the ordinary I've found is that the shader preview doesn't seem to be working anymore:

    In Unity 2020.3:
    2020.3.34f1_previewWorks.png

    After updating to Unity 2023.1:
    2023.1.0f1_previewNotWorking.png

    What I've checked:
    -Project Settings > Graphics > Scriptable Render Pipeline: Universal Render Pipeline (URP) asset is set
    -This asset is a 2DRenderer
    -Fooling around with 2D Light settings in a new scene

    In short, the shader seems broken in 2023.1 and I've no idea what could have caused this.
    Any suggestions?
     
  2. HomeBearJosh

    HomeBearJosh

    Joined:
    Dec 13, 2017
    Posts:
    32
    Friendly bump; hoping someone can help me out on this.
    If any additional information would be helpful, please lemme know. : )