Search Issue Tracker
In Progress
Fix In Review for 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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tooltip messages should be presented in human language not in code strings
- [Linux] Editor doesn’t auto reload when an Asset is imported or a Script is changed
- MouseDownEvent is triggered when changing from Scene view to Game view
- "GlobalObjectIdentifierToObjectSlow" returns Null when retrieving "GlobalObjectId" from GameObject inside a Prefab
- Shader is invisible in the Build when using BiRP on Meta Quest 2
Add comment