Search Issue Tracker

Fixed in 10.1.0-preview.0

Fixed in 7.5.0, 8.3.0, 9.0.0-preview.57

Votes

0

Found in [Package]

7.4.0

Issue ID

1250829

Regression

No

Main light shadows are ignored in favor of additional light’s shadows

Package: Scriptable Render Pipeline Universal

-

To reproduce:
1. Open AngryBots2
2. Check correct version URP (7.4.0, also repro in 7.2.1 + 7.3.1)
3. Search in hierarchy t:light
4. Disable all lights in scene
5. Activate 1 directional light with hard shadows or soft shadows enabled
6. Activate 1 spot light with hard shadows or soft shadows enabled
7. In current URPAsset, change additional lights to 1
8. Change additional lights > cast shadows to off
9. Move scene view camera, observe main light shadows are always shown
10. Change additional lights > cast shadows to on
11. Move scene view camera, observe main light shadows are sometimes overridden by additional lights shadows

Expected result: main light shadows always on if “Cast shadows” checked
Actual result: main light shadows only on if no additional light with “Cast shadows” is “closer” to the camera than the directional light

Reproduced with: 2019.3.15f1 + URP 7.2.1, 7.3.0, 7.4.0

  1. Resolution Note (fix version 9.0.0-preview.57):

    Fixed a case where main light hard shadows would not work if any other light is present with soft shadows.

  2. Resolution Note (fix version 8.3.0):

    Fixed a case where main light hard shadows would not work if any other light is present with soft shadows.

  3. Resolution Note (fix version 7.5.0):

    Fixed a case where main light hard shadows would not work if any other light is present with soft shadows.

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.