Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug BatchDrawCommand error

Discussion in 'DOTS Animation' started by kite3h, Jan 29, 2023.

  1. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    192
    A BatchDrawCommand is using a pass from the shader "Shader Graphs/SkinLit" that is not SRP Batcher compatible. Reason: "UnityPerMaterial CBuffer inconsistent size inside a SubShader" (<Variable name only available in the Editor>)


    This error has occurred since 2022.2.3. Occurs when a computeDeformation node is used in Shader Graph.
    Do you know how to solve it?
     
  2. Fribur

    Fribur

    Joined:
    Jan 5, 2019
    Posts:
    130
    There are a couple of threads in the Entity Graphics sub forum about this: e.g. see this response. Will be fixed in 2022.2.5.
     
    Thaina likes this.