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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
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.