Search Issue Tracker
By Design
Votes
0
Found in
2021.3.39f1
2022.3.32f1
6000.0.5f1
Issue ID
UUM-73175
Regression
No
[URP] Spot light produces shadow artifacts
Steps to reproduce:
- Create a new Universal 3D template project
- Add a plane and a cube to the scene
- Disable directional light
- Add Spot Light
- Enable shadows on the light
- Rotate/move around the light and observe the shadow of the cube
\\
Actual results: seems like top of the cube shadow is sepparated and shadows are not synced with the rest of the cube
Expected results: shadows are rendered without artifacts
\\
Reproducible with versions:
2021.3.39f1 2022.3.32f1 6000.0.5f1
\\
Tested on (OS):
macOS Intel
Windows 11
\\
Notes:
- Seems to work as expected in HDRP template
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
Hi, thank you for the report.
You will need to change your light settings to get better results. You can set the resolution of you shadow texture to "Custom" (Shadows -> Realtime Shadows -> Resolution), and select a higher value for your spot light, at the cost of performance. Try f.ex. 2048 instead.
In addition, you can set the bias to "Custom" as well (Shadows -> Realtime Shadows -> Bias), and fiddle around with the Depth & Normal bias. I suggest try setting the Normal bias to 0.
Hope this resolves your issue.