Hi,
I am using Unity 2023.2.14f1 with URP 16.0.5.
[I’ve noticed]( Script for generating ShadowCaster2Ds for Tilemaps page-2#post-8707710) that when you add the ShadowCaster2D to a Tilemap that has a TilemapCollider2D you can actually select the TilemapCollider2D as a shadow source:
In the following image you can see a part of the scene:
The strong white lines is the ShadowCaster2D shape.
Directly below the light there is just an empty game object with a ShadowCaster2D. That one is generating a shadow, but the ShadowCaster2D on the Tilemap is not generating any shadow.
Since there is no documentation for that already, I wonder if that should work at all or if it is just in development?