Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    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 SRP batcher error for SRP compatible shader (Hybrid Renderer v2)

Discussion in 'Graphics for ECS' started by MagicianArtemka, Dec 25, 2020.

  1. MagicianArtemka

    MagicianArtemka

    Joined:
    Jan 15, 2019
    Posts:
    46
    Hi guys.

    Problem
    Unity reports the next error when I run Play Mode.

    A Hybrid Renderer V2 batch is using a pass from the shader "Shader Graphs/MyShader", which is not SRP batcher compatible. Only SRP batcher compatible passes are supported with the Hybrid Renderer.

    I'm sure, that I use the SRP compatible shader (Unity told me that my shader is SRP compatible).

    This's all. The game runs good and all shaders behave as expected.

    Parameters of my project:
    • Unity 2020.2.0f1
    • Hybrid Renderer V2 (Hybrid Renderer package - 0.10.0-preview.21)
    • URP 10.2.2
     
    deus0 likes this.
  2. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    705
    I get this one a lot too.

    Sometimes this happens becuase the async loading shader isn't SRP compatible.

    Sometimes this happens for no discernible reason.
     
    charleshendry likes this.