Search Issue Tracker
Fixed in 12.0.0
Votes
1
Found in [Package]
10.0.0-preview.26
Issue ID
1300753
Regression
Yes
[URP] ShadowCaster2D casting Shadows to incorrect Layers
Reproduction steps:
1. Open attached Project "ShadowCast"
2. Disable and enable the ShadowCaster2D Component on the Player GameObject
Expected result: The shadows are cast the same
Actual result: The shadows start casting onto the Player GameObject even though Self Shadows is disabled
Reproducible with: 10.0.0-preview.26, 10.2.2 (2020.2.3f1)
Not reproducible with: 7.5.2, 8.3.1 (2019.4.19f1), 9.0.0-preview.72 (2020.2.3f1)
Could not test with: 11.0.0 (2021.1.0b4, 2021.2.0a3) (No Shadows are cast)
Notes:
Shadows also break when overlapping with other ShadowCasters
Shadows are targeting the wrong layers
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
- "InvalidOperationException: Trying to SetRenderAttachment on a texture..." exception is thrown when using the depth back buffer as an input attachment in Renderer Feature on Vulkan Graphics API
- [HDRP Wizard] Reload Window fails to reload the HDRP Wizard window
- [HDRP Wizard] Fix All button is not presented using the macOS system
- "InvalidCastException: Specified cast is not valid" is thrown when Generating Lighting with "Virtual Offset" enabled in APV, and a static Skinned Mesh Rendered with a Mesh Filter Component is in the Scene
- TMP material doesn't update when using Localized Property to change the font assets
Resolution Note (fix version 12.0.0):
A fix for this issue is available on Universal RP package 12.0.0 and above with Unity 2021.2.0a9