• RuntimesUnityBugs
  • Spine Shaders do not appear to be SRP batcher compatible

Hi there I'm using Spine version 4.0.8 and Spine Universal RP Shaders 4.0.6. with Unity version 2021.3.19, URP version 12.1.10. None of the Shaders appear to be SPR batching compatible. Shouldn't Spine Shades be SRP batcher compatible by default? Is there a way to fix this?

    Related Discussions
    ...

    checkonchuck That is an old problem and should be fixed now. You can find the issue ticket for that problem here and it is closed:
    EsotericSoftware/spine-runtimes1813
    Since you are apparently using an older version, updating your spine-unity runtime may fix the problem.

      Misaki
      Hi Misaki! thanks for your reply. Before I upgrade I do have another question: Are only the URP specific shaders SRP batcher compatible or will all the Shaders be SPR batcher compatible by default?

        checkonchuck I am unfortunately not very familiar with shaders, but the shaders that are included by default in the spine-unity runtime are only available for the Built-in Render Pipeline, so I think it can not be used with the SRP batcher.

        checkonchuck Are only the URP specific shaders SRP batcher compatible or will all the Shaders be SPR batcher compatible by default?

        Misaki is correct in that the shaders that are included in the spine-unity runtime unitypackage (as opposed to the shaders in the Spine URP Shaders package) are not intended to be used with URP (or any scriptable render pipeline).

        An exception are the UI related shaders Spine/Skeleton Graphic and the like, where CanvasRenderer is separate from the normal render pipelines, these Spine/Skeleton Graphic shader should still be used when using URP.

        Any other unintended combination of render pipelines with shaders might look correct in the Unity Editor but might end up with display issues on e.g. a target mobile device.