I wrote a baked animation shader (URP), a lot of it was taken from the lit shader, it works completely, it works and save batching, but at the same time I get a warning in the shader Material property is found in another cbuffer than unitypermaterial (_AnimMap_TexelSize) I have the following lines in my shader Code (CSharp): sampler2D _AnimMap; float4 _AnimMap_TexelSize; ............ Varyings LitPassVertex(Attributes input, uint vid : SV_VertexID){ Varyings output = (Varyings)0; UNITY_SETUP_INSTANCE_ID(input); UNITY_TRANSFER_INSTANCE_ID(input, output); UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); float x = (vid + 0.5) * _AnimMap_TexelSize.x; ............... I do not understand what is required of me, how to get rid of this warning? (but shader works, and the batches are saved...) CBUFFER_START(UnityPerMaterial) I can't apply, there will be an error Duplicate constant buffer declaration: UnityPerMaterial