Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug Custom shaders not written using ShaderGraph are invisible

Discussion in '2021.2 Beta' started by joeconstable97, Sep 22, 2021.

  1. joeconstable97

    joeconstable97

    Joined:
    Jul 30, 2013
    Posts:
    50
    Hi all,

    I've found a bug in 2021.2 for URP - The title says it all really.

    I first noticed this when using Amplify Imposters
    upload_2021-9-22_18-15-48.png

    and then later with some trees that I bought on the Unity Asset Store.

    upload_2021-9-22_18-16-25.png

    The issue only comes up when the object is using a custom shader (for URP) that wasn't written in Shader Graph.

    I've found that I can fix this by setting the Render Queue on the material to transparent but obviously that's not ideal since it will mess with the render order.