The Light 2D URP doesn't work correctly when play the game build, but it works fine in editor, to fix this issue you need to create a new material and put it in the Tilemap Material in the Generator ( thanks to the comment 2 years ago below )