You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the built-in render pipeline, shadows can be cast onto objects with the toon shader from point lights. However in URP (and HDRP) this is broken.
To Reproduce
Open a project in URP, turn off shadows for the directional light, turn on shadows for a point light, put the Toon Shader material onto a floor or prop (like a table), tick the receive shadows box to be on in the inspector, put another object between the light and the object with the Toon shader.
Expected behavior
The object between them should block the point light and cast a shadow onto the object with the toon shader.
Screenshots
The first image is of the shadow not being received by the object in URP while it successfully is cast onto the floor which is the standard URP lit texture. The second image is of the shadow being successfully received in the built-in render pipeline. The floor is missing because it was a URP material.
Desktop:
OS: Windows 11
Browser: Standalone
Unity Version 2022.3.57f1, Toon Shader version 0.11.0
Additional context
As I mentioned earlier this is also an issue in HDRP but I haven't tried raycast shadows yet so I don't know if those are broken from point lights as well.
The text was updated successfully, but these errors were encountered:
Would it be possible for you to share a test project for reproducing this issue ?
In the meantime, I'd like to let you know that due to the company reset last year, we at Unity have had to deprioritize the development of the ToonShader package at the moment.
Consequently, we have very limited resources at the moment to address existing bugs, although the above info that you provide will be beneficial for discussions with the community.
That being said, this could change in the near future, though I can’t provide any guarantees at this time.
Describe the bug
In the built-in render pipeline, shadows can be cast onto objects with the toon shader from point lights. However in URP (and HDRP) this is broken.
To Reproduce
Open a project in URP, turn off shadows for the directional light, turn on shadows for a point light, put the Toon Shader material onto a floor or prop (like a table), tick the receive shadows box to be on in the inspector, put another object between the light and the object with the Toon shader.
Expected behavior
The object between them should block the point light and cast a shadow onto the object with the toon shader.
Screenshots

The first image is of the shadow not being received by the object in URP while it successfully is cast onto the floor which is the standard URP lit texture. The second image is of the shadow being successfully received in the built-in render pipeline. The floor is missing because it was a URP material.
Desktop:
Additional context
As I mentioned earlier this is also an issue in HDRP but I haven't tried raycast shadows yet so I don't know if those are broken from point lights as well.
The text was updated successfully, but these errors were encountered: