Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.67f1

6000.3.8f1

6000.4.0b8

6000.5.0a6

Issue ID

UUM-134637

Regression

No

2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds

2D

-

Reproduction steps:
1. Open the attached "IN-127959_Small.zip" project
2. Open the “Assets/Scenes/Map.unity” Scene
3. Enter Play mode
4. Observe the Game view, notice no light leaking through shadow casters
5. Build and run the project in Player
6. Observe the Player

Actual result: The light is leaking through the shadow casters
Expected result: The lighting behavior remains the same as in Game view

Reproducible with: 6000.0.11f1, 6000.0.67f1, 6000.3.8f1, 6000.4.0b8, 6000.5.0a6
Could not test with: 6000.0.10f1 (Rigidbody2D CS1061 errors)

Reproduced on: Windows 11
Not reproducible on: No other environments tested

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.