Hi,
I’m using the Flatkit shaders within my ECS project. It’s working well up to now, but now I’m trying to add the Flatkit water shader, but then I get the following error:
A BatchDrawCommand is using a pass from the shader “FlatKit/Water” that is not SRP Batcher compatible. Reason: “Material property is found in another cbuffer than “UnityPerMaterial”” (_FadeDistance)
This is not supported when rendering with a BatchRendererGroup (or Entities Graphics). MaterialID (0x5) MeshID (0x1CE) BatchID (0x1)
Did someone got this kind of error when using 3rd party shaders, and what would be the work around in a case like this?
Thank yoU!