Search Issue Tracker
Fixed
Fixed in 2021.3.20f1, 2022.2.9f1, 2023.1.0b4, 2023.2.0a1
Votes
1
Found in
2021.3.13f1
2022.1.22f1
2022.2.0b15
2023.1.0a17
2023.2.0a1
Issue ID
UUM-19090
Regression
Yes
[URP][2D] Shadow disappears even though light is in range of the sprite when using Light 2D
Steps to reproduce:
1. Open the “ShadowCaster2DBug” project
2. Open “SampleScene” scene
4. If needed, enable Shadow component Strength property for “Light 2D” GameObject
3. Observe the casted shadow from “Square” GameObject when moving “Light 2D” GameObject
Expected result: The shadow casts until the light is gone
Actual result: The shadow disappears even though the GameObject “Square” is lighted
Reproducible with: 2021.2.0b1, 2021.3.13f1, 2022.1.22f1, 2022.2.0b15, 2023.1.0a17
Not reproducible with: 2020.3.41f1, 2021.2.0a21
Reproduced on: macOS Monterey 12.2 (Intel)
Note: The issue is reproducible with both “Spot” and “Freeform” Light Types
Comments (1)
-
castor76
Feb 28, 2025 16:17
This still happens for unity 6
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2022.2.9f1):
Fix for this issue will be available on Unity 2022.2.9f1 and above
Resolution Note (fix version 2021.3.20f1):
Fix for this issue is available on Unity 2021.3.20f1 and above