How to reproduce:
1. Open the “ShadowCasterBug.zip“ project
2. Open the “SampleScene“
3. Observe the Scene view
Expected results: The shadow of the “Light 2D“ GameObject is calculated correctly, and no yellow light passes through after the 2D ShadowCaster
Actual result: The shadow of the “Light 2D“ is miscalculated, and the 2D ShadowCaster passes through some yellow light
Reproducible in: 2021.3.41f1, 2022.3.40f1, 2023.1.0a17
Not reproducible in: 6000.0.13f1
Fixed in: 2023.1.0a18
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Editing the Freeform Light corner positions changes the shadowed area
- To better visualize the shadowed area, the strength of the shadow can be increased in the (Shadows > Strength) section of the Inspector of the “Light 2D“ GameObject