no soft shadow in 2021.2 URP

No response when clicking the soft shadow checkbox

Hi, I also encountered this problem after updating to Unity 2022.1 Alpha (it also used URP 12 in the past), I believe I fixed the problem by building the game, it seems like it forces shader recompilation

EDIT: I guess the topicstarter meant that he/she doesn’t get soft shadows even after ticking that toggle, they remain hard instead. That was the case for me and building the game helped

That doesn’t sound right. Could I get you to report an issue about this? Then we can have a look at it.

Are you using realtime lighting?

yes

step)

  1. Create Project

  2. switch android platform

  3. change URP

  4. URP Asset file → (Depth Bias 0, Normal Bias 0)

  5. Soft Shadows On / Off Check

Changed in previous version (2021.1)

Maybe the mobile shadow quality is lowered

Does it look different on device? In 2021.1 Unity started applying the SHADER_API_MOBILE in the Editor when the build platform is mobile, which makes the Editor apply the same techniques as on device. We did discover some issues with this though, and we’re currently working to fix that.

Same issue here using 2021.2 and URP 12.1.2, the soft shadow toggle doesn’t change anything in either the editor or on an android device.
If i create a new project with the URP sample the soft shadows work fine while the build target is PC but if i change it to android there’s only hard shadows.

Just enable it under shadows in your URP asset

2 Likes