Search Issue Tracker

Active

Under Consideration for 6000.5.X, 6000.6.X

Votes

1

Found in

6000.0.68f1

6000.3.10f1

6000.4.0b10

6000.5.0a7

6000.6.0a1

Issue ID

UUM-135640

Regression

No

2D Freeform Light shadows disappear when light center is offset from shape bounds

2D

-

How to reproduce:
1. Open the attached “IN-134986_TestProject.zip” project
2. Open the “TestScene” scene
3. Select the “BlackCube” GameObject in the Hierarchy
4. Drag it towards the right end side of the “Freeform Light 2D” GameObject
5. Observe the Scene View

Actual result: The shadow from “BlackCube” disappears even though it is still lit up
Expected result: The shadow persists until “BlackCube” is no longer in the light

Reproducible with: 2023.1.0a3, 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7

Reproducible on: MacOS Sequoia 15.7.3 (M1 Max)
Not reproducible on: No other environments tested

Note: The bigger the offset from the light center to its bounds the earlier the shadows disappear

 

PR: https://github.cds.internal.unity3d.com/unity/unity/pull/96041

Comments (1)

  1. AndreaGalet

    Feb 26, 2026 20:27

    I discovered this because usually I offset the center of the light to make the light project the 2D Shadow in a precise direction only, usefull to simulate a light entering rom a window for example.

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.