Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.2.0a14
2023.1.0a16
Issue ID
UUM-5740
Regression
No
[Culling API] CullingResults.visibleLights returns positive light count for Spot Light while there are no visible lights in the camera frustum
How to reproduce:
1. Open the attached project 'Spot light culling issue.zip'
2. Open 'SampleScene' Scene
3. Notice that there are no lights in the camera frustum in the Scene View
4. Select GameObject > Main Camera in the Hierarchy
Expected result: Console logs 'Preview Camera VisibleLights: 0'
Actual result: Console logs 'Preview Camera VisibleLights: 24'
Reproducible with: 2021.2.0a14 (12.0.0)
Notes:
- This happens when Spot Lights' outer angle is above 170
- Similar issue for point lights is resolved in 1266851, hence it is not a duplicate
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.