Transparent Material not casting shadows

Hello,
I recently upgraded a project from SRP to URP but now transparent objects no longer cast shadows (even when alpha is 1). There’s also weird artifacts when objects are slightly transparent but I only see the odd artifact in Unity 2022 (Apple Silicon). Unity 2021 LTS (Apple Silicon) versions don’t seem to have this issue.

When the material is opaque it behaves normally:

But when it’s transparent it doesn’t cast a shadow even when alpha is 1:

Here’s the material’s property’s visible in the inspector:

Also here’s the weird artifact I mentioned earlier which I believe to be a bug
it won’t let me upload more files because I can’t upload more than 5 (even though I only uploaded 3) so here’s a link instead: https://share.cleanshot.com/hnJGKc. As you can see even when the alpha is 0 the object is still visible.


3 Likes

Hi,

Odd, I am wondering the same thing, so far can’t find anything when googling or fiddling with settings…

Bye,

Jean

There was another thread concerning this, Shadows not casting with LWRP Lit Shader (Transparent Surface)
I posted what was working for me using the default shaders.