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
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
- Resources.UnloadUnusedAssets() freezes the Editor when releasing Mesh objects
- 16-bit Sprite Textures have a banding effect and loss of data when packing into Variant Sprite Atlas
- HDRP Cluster artifacts when having more than 100 lights
- ParticleCollisionEvent.intersection generates extremely high values when particles collide while in Play Mode
- Custom attributes are not properly converted to subgraphs
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