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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.