Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.2.14f1
2022.2.0a7
Issue ID
UUM-1941
Regression
No
Shadow Caster 2D shadows are disabled when changing the Sprite for the Sprite Light type GameObject
Reproduction steps:
1. Open the attached "1408396.zip" project
2. Open the "SampleScene" Scene
3. Select the "Light 2D" GameObject
4. Enable the Shadows Strength setting (Inspector > "Light 2D" > Shadows > Strength)
5. Change the Sprite of the "Light 2D" GameObject to any Sprite (Inspector > "Light 2D" > Sprite)
6. Observe the Scene view
Expected result: All the Shadow Caster 2D shadows remain unchanged
Actual result: All the Shadow Caster 2D shadows disappear
Reproducible with: 12.1.5 (2021.2.14f1), 13.1.6 (2022.1.0b10), 14.0.0 (2022.2.0a7)
Could not test with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.30f1) (Package errors after downgrade)
Notes:
- The issue disappears after changing the Sprite back to the original "Sparkle" Sprite
- If the issue doesn't reproduce with a selected Sprite, move the "Light 2D" GameObject around the Scene view
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Resolution Note:
There are no fixes planned for this Bug