Search Issue Tracker
By Design
Votes
0
Found in [Package]
7.1.2
Issue ID
1188693
Regression
No
[URP] [2D] [2D Lights] Sprite Light 2D will not illuminate sprites after reloading scene or entering Play Mode
[URP] [2D] [2D Lights] Sprite Light 2D will not illuminate sprites after reloading scene or entering Play Mode
If the user positions a Sprite Light 2D in the illuminating range of a Sprite object, initially the user will see the sprite illuminated as expected. Upon entering Play Mode or reloading the scene, the Sprite Light 2D will no longer illuminate nearby sprites.
Please see attached video capture for demonstration.
Steps to reproduce:
- Create a 2D new project with Unity 2019.3b+, configuring it for use with URP
- Create a new scene
- Add a 2D Sprite object to the scene
- Add a Sprite Light 2D to the scene and position it within range of the sprite
- Observe the sprite appears illuminated
- Press the Play button to enter Play Mode
- Observe the sprite is no longer lit as expected
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This is because you are using a perspective camera. The 2D lights are designed for orthographic cameras only, so weird artifacts may appear if you use them with a perspective camera. We may choose to properly support perspective cameras in the future, but for now we'll resolve this case as By Design.