Search Issue Tracker
Fixed in 2021.3.35f1
Fixed in 2022.2.X
Votes
2
Found in
2021.2.13f1
2022.1.0b9
2022.2.0b2
Issue ID
UUM-1865
Regression
Yes
Light 2D doesn't cast shadows when "Shadow Intensity Enable" is enabled for multiple Light 2D GameObjects
How to reproduce:
1. Open the user's attached project "UdcJam20Escape.zip"
2. Open the "SampleScene" Scene
3. Enter the Inspector's Debug mode by pressing the "More Items" button (top-right corner of window)
4. Select the "DefaultGlobalLight2D" GameObject and in the Inspector windows tick the "Shadow Intensity Enabled" box
5. Enable the "DefaultGlobalLight2D" GameObject
Expected results: GameObjects cast shadows
Actual result: GameObject shadows are not visible
Reproducible with: 12.0.0 (2021.2.0b1), 12.1.4 (2021.2.13f1, 2022.1.0a1), 13.1.5 (2022.1.0b9), 14.0.0 (2022.2.05)
Not reproducible with: 7.7.1 (2019.4.35f1), 10.8.1 (2020.3.30f1), 11.0.0 (2021.1.28f1), 12.0.0 (2021.2.0a21)
Notes:
- Unticking the "Shadow Intensity Enabled" box resolves the issue
- Reproducible with all Light 2D Types
- Moving light source or GameObjects close to light source resolves the issue
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2021.3.35f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1855
Resolution Note (fix version 2022.2):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1855