Unity Issue Tracker - The gap between shadow and the GameObject when zooming in
Closed
UUM-13088
The gap between shadow and the GameObject when zooming in
Unity: Universal RP
As Designed
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
Gaps like this can happen with shadows but can be fixed by adjusting the Shadow Near Plane on the light or the cascade splits in the URP Asset.
More information can be found here:
https://docs.unity3d.com/Manual/ShadowPerformance.html
Reproduction steps:
1. Open the attached ‘My project' project
2. Open the ‘SampleScene’
3. Zoom in, and observe the shadow of the ‘Cube’ GameObject on the plane
Expected result: The shadow is straight, and there is no gap between the 'Cube’ and the shadow
Actual result: There is a gap between the Cube and the start of the shadow, edges of the shadow are not straight