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
-
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 8.3.1):
A fix for this issue is available on Universal RP package 8.3.1 and above