Hello @Harald! Thank you for your follow up.
I've checked the problem and the issue seems to be related to URP 17.1.0 (which I'm using).
With ChatGPT's help I found out that changin this part in the Spine-Common-URP.hlsl:
uint GetMeshRenderingLayerBackwardsCompatible()
{
#if IS_URP_14_OR_NEWER
return GetMeshRenderingLayer();
#elif IS_URP_12_OR_NEWER
return GetMeshRenderingLightLayer();
#else
return 0;
#endif
}
with
uint GetMeshRenderingLayerBackwardsCompatible()
{
#if IS_URP_14_OR_NEWER
// Compatible con URP 14+ incluyendo URP 17
return GetMeshRenderingLayer();
#else
// Para URP 12 y anteriores, GetMeshRenderingLightLayer ya no se usa
return 0;
#endif
}
as long as URP 17.1.0 no longer uses GetMeshRenderingLightLayer().
I don't know if this is a workaround or is an useful fix, but now I can get my character receive shadows! (Until next package update, which will overwrite my changes haha)