Search Issue Tracker
Not Reproducible
Not Reproducible in 6000.5.X
Votes
1
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-104849
Regression
No
"ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
Reproduction steps:
1. Open the attached “IN-101157_thief-on-a-train“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Select the “lockpick group > tangibles > blocker“ GameObject in the Hierarchy
4. Set the “Shadow Caster 2D” Component’s “Casting Source” to “None“
5. Revert the “Casting Source“ field back to “Polygon Collider 2D“
4. Observe the GameObject’s Polygon Collider and the shadow under it inside the Game View
Expected result: The shadow is cast according to the Polygon Collider’s shape
Actual result: There’s no shadow underneath the GameObject
Reproducible with: 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Couldn’t test with: 2022.3.62f1 (couldn’t downgrade user’s project)
Reproducible on: M1 Max MacOS 15.1.1
Not reproducible on: No other environment tested
Comments (1)
-
arachnidLeo
May 09, 2025 03:51
I've also noted this issue happening not just with Polygon Collider 2D but with Box Collider 2D.
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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Resolution Note:
na
Resolution Note (6000.5.X):
na