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
7000.0.0a1
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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Resolution Note:
Postponed port