Search Issue Tracker
Fixed in 8.3.1
Votes
11
Found in [Package]
7.1.8
Issue ID
1217091
Regression
No
[Universal RP][2D] 2D Light is rendered behind a GameObject with Shadow Caster when the GameObject is close to the light source
How to reproduce:
1. Open the project from the file "1217091.zip"
2. Inspect the Scene View and then select the "Box" GameObject from the Hierarchy and change its X Scale to 15
3. Inspect the Scene View again and compare before and after changing the scale
Expected behavior: shadow of the GameObject is the same height as before
Actual behavior: shadow of the GameObject is shorter
Reproducible with: Universal RP 7.1.1(2020.1.0a1), Universal RP 7.1.7(2020.1.0a1, 2020.1.0a22), Universal RP 7.1.8(2019.3.0f6, 2020.1.0a22)
Could not test with: 2017.4.36f1, 2018.4.17f1(2D Renderer not introduced), Universal RP 7.0.0, 7.0.1(Shadow Caster 2D not introduced)
Notes:
- Project of reproduction attached in the edit
- Also reproducible with Freeform and Parametric lights
Comments (3)
-
Piwovsky
Sep 01, 2021 08:27
Still doesn't work with latest URP how to fix that? At certain angles when im rotating my freeform light it exceeds the shadow...
-
PhaneV
Feb 28, 2020 13:09
Hey. This happens to me too.
I hit this issue with LWRP, tried with URP too.
Unity 2019.3.0f6.
Voted! -
Major_Lag
Feb 25, 2020 02:36
I have found that then the shadowcaster is sufficiently thin compared to the range light source that you can get a reproduction. Reproduction happens when the light gets too close to the shadowcaster.
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
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Resolution Note (fix version 8.3.1):
A fix for this issue is available on Universal RP package 8.3.1 and above