Search Issue Tracker
Fixed
Fixed in 6000.0.23f1
Votes
0
Found in
6000.0.17f1
Issue ID
UUM-79279
Regression
No
WorldLightManager.Collect has poor performance when a large amount of GameObjects are present in the scene
How to reproduce:
1. Open the attached “IN-81828” project
2. Open the “Demo” scene (Assets/PolygonFantasyKingdom/Scenes/Demo)
3. Open the Profiler window (Window → Analysis → Profiler)
4. Ensure that the Profiler is set to record Play mode data
5. Enter Play mode
6. After a few seconds, exit Play mode
7. Open the Profile Analyzer (Window → Analysis → Profile Analyzer)
8. Press “Pull data”
9. In the name filter, enter “Collect”
10. Observe the median times for “WorldLightManager.Collect”
Expected result: WorldLightManager.Collect has low median times (close to 0ms)
Actual result: WorldLightManager.Collect has high median times (around 0.10ms per frame)
Reproducible in: 6000.0.17f1
Could not test with: 2021.3.43f1, 2022.3.45f1 (Package errors when downgrading project)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Due to the use of GameObject.FindObjectsByType, this issue becomes more apparent in larger projects
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
morphex
Oct 07, 2024 18:42
Can confirm, WorldLightManager.Collect is taking 10ms, I have currently 10K GameObjects in my scene, renderer disabled, I am getting around 6MS just collecting lights.