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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Failed to load il2cpp" error when running a standalone build that uses static libraries
- Editor crashes when entering a lot of characters in the Quality name
- Multiple NullReferenceExceptions are being thrown on TMPro.TMP_MaterialManager.GetFallbackMaterial when adding a new fallback font in the Player
- Physics debugger window has no minimum width/height set
- Yellow colored text is barely visible in the TextMeshPro "Project Files GUID Remapping tool", and "Project Text Spacing Remapping tool" windows when using the Light Mode Editor theme
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.
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.
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.