Search Unity

Question Trying to render a batch from the Hybrid Renderer V2 with SRP Batcher OFF

Discussion in 'Graphics for ECS' started by BenMM, Apr 13, 2021.

  1. BenMM

    BenMM

    Joined:
    Jan 28, 2019
    Posts:
    16
    Hi,
    i'm having the following error in builds:


    Trying to render a batch from the Hybrid Renderer V2 with SRP Batcher OFF. This is not supported.
    Please turn SRP Batcher ON to use the Hybrid Renderer V2.


    Does anyone have an idea what the issue could be?
    FYI It does not seem to have any consequences in regards to rendering.

    What i tried and checked:

    1. Checked all shaders used in the build scene/ all shaders SRP Batcher compatible
    Materials.png

    2. Unitys own SRP Batcher Profiler script tells me SRP Batcher is ON
    BatcherON.png

    3. Added "ENABLE_HYBRID_RENDERER_V2" define for build an Project settings
    AddDefineBuild.png DefineInSettings.png

    Thanks for the help!
    Best Regards
     

    Attached Files:

    mmonly likes this.
  2. mmonly

    mmonly

    Joined:
    Mar 25, 2015
    Posts:
    8
    I'm facing the same problems, any luck? please update
     
  3. JussiKnuuttila

    JussiKnuuttila

    Unity Technologies

    Joined:
    Jun 7, 2019
    Posts:
    351
    Would it be possible to submit a bug report with a repro project? This would help us investigate why Unity thinks that SRP Batcher is disabled when rendering HRV2 batches.