Search Issue Tracker


Fixed in 2021.3.15f1, 2022.2.0f1, 2023.1.0a16

Unknown (hidden) 2022.1.X



Found in





Issue ID




[Terrain / URP]Mixed light baking with Shadowmask on URP with TerrainLit shader doesn't work as intended when using Deferred rendering



How to reproduce:
1. Open the attached project ""
2. Open the "test" Scene in the Assets folder
3. Open Lighting window (Window > Rendering > Lighting)
4. In the Lighting window set the Lighting Mode under the Mixed Lighting Tab to Shadowmask and press Generate Lighting button

Expected result: The Point Light is bright and the static objects produce shadows
Actual result: The Point Light is very dim and the static objects don't produce any shadows

Reproducible with: 12.0.0 (2021.2.0b15), 12.1.3 (2021.2.8f1), 13.1.4 (2022.1.0b3, 2022.2.0a1)
Could not test with: URP 11.0.0 and lower - Deferred rendering is not available

  1. Resolution Note (fix version 2023.1.0a16):

    Fixed in: 2023.1.0a16

  2. Resolution Note (fix version 2022.2.0f1):

    Added missing shader keywords for Mixed Shadowmask Lighting in the URP Terrain Lit and BaseLit shader

  3. Resolution Note (2022.1.X):

    Fixed in 2022.2, won't fix for 2022.1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.