Search Issue Tracker
Fixed
Fixed in 2022.3.61f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Votes
0
Found in
2022.3.58f1
6000.0.39f1
6000.1.0b7
6000.2.0a4
Issue ID
UUM-97855
Regression
No
Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Reproduction steps:
1. Open the attached “IN-93546.zip” project
2. Open the “crime” Scene
3. Make sure Gizmos are enabled in the Scene view
4. Open the Profiler (Window > Analysis > Profiler)
5. Click on the ‘Play mode’ dropdown and change it to ‘Edit mode’
6. At the bottom click the ‘Live’ button and change the ‘Main Thread’ dropdown to ‘Render Thread’
7. Move the Scene Camera so that no Gizmos are visible
8. In the Profiler, click the Record icon (right of the ‘Edit Mode’ dropdown)
9. Right-click in the Scene view to trigger a repaint
10. Click on captured data in the Profiler
11. Look at the Calls number for ‘FillQuadIndexBuffer’ or ‘GfxDrawDynamic’ (called by ‘DrawGizmos’)
Actual result: ‘FillQuadIndexBuffer’ and ‘GfxDrawDynamic’ have more than 16000 Calls even when the Scene view Camera is not looking at the Gizmos
Expected result: Scene view Camera culls the icons/doesn’t draw icons that are invisible
Reproducible with: 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
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
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
Resolution Note:
Postponed port