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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
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.