Search Issue Tracker
By Design
Votes
0
Found in [Package]
11.0.0
Issue ID
1328036
Regression
Yes
[2D Renderer] Point Light 2D keeps the Cookie/Sprite property when upgrading URP from 10.4.0 to 11.0.0 or 12.0.0
How to reproduce:
1. Open the attached "PointLight.zip" project in 2021.1 or 2021.2
2. Open the "SampleScene" Scene
3. Select the "Point Light 2D with Cookie" GameObject in the Hierarchy window
4. Observe the Light 2D Component's properties
Expected result: No Sprite property is in the Light 2D Component when Light Type is set to Point
Actual result: Sprite property is in the Light 2D Component when Light Type is set to Point
Reproducible with: 11.0.0 (2021.1.2f1), 12.0.0 (2021.2.0a13)
Not reproducible with: 7.5.3 (2019.4.24f1), 10.4.0 (2020.3.3f1)
Note:
- Select the "Point Light 2D without Cookie" GameObject and notice that no Sprite property is there as a Cookie reference was not assigned in 2020.3 (10.4.0)
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
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
- Precision changes when a tangent is added to a Vertex node
Resolution Note:
This is not a bug. Although we deprecated the point light cookie, there was intentional effort to maintain compatibility with projects that might rely on point light cookies.