Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

1

Found in

6000.0.48f1

6000.1.2f1

6000.2.0a10

6000.3.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)

  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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.