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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 8.3.1):
A fix for this issue is available on Universal RP package 8.3.1 and above