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
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
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.