Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Universal RP 10.4.0 default Lit Shader is not compatible SRP Batch

Discussion in 'Universal Render Pipeline' started by jalecosh, Apr 21, 2021.

  1. jalecosh

    jalecosh

    Joined:
    Sep 2, 2020
    Posts:
    1
    QQ20210421113926.png

    Unity2020.3.3f1c1 Download URP10.4.0,all shader is not compatible SRP Batch,Show This builtin property isn't supported by SRP Batcher(unity_LightmapIndex). o_O
     
    Sky77 likes this.
  2. code_master_gogo

    code_master_gogo

    Joined:
    Mar 5, 2014
    Posts:
    2
    I am also facing the same issue.

    After digging a bit, I found that TransformObjectToHClip() (function which transforms/converts vertex position from object space to clip space) is the culprit and it is responsible for breaking the SRP Batcher compatibility.
     
  3. Daryl_1

    Daryl_1

    Joined:
    Feb 13, 2014
    Posts:
    22
    we're facing a similar issue - could you explain how you resolved the issue please?
     
  4. code_master_gogo

    code_master_gogo

    Joined:
    Mar 5, 2014
    Posts:
    2
    I have not resolved the issue yet.