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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
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.