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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
Add comment