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
- “Clear locked objects” button in the Info tab of the Physics Debugger window has no padding on the right side and has an extra space in between the words “locked” and “objects”
- Renaming the VFX Graph uses "Enter" for a new line and "Enter + Shift" to confirm instead of vice versa
- RasterCommandBuffer.DrawMeshInstanced light attenuation does not work in the Release build Player
- Main thread freezes when right-clicking on the title bar of a windowed Player on Windows
- “Open” button in Inspector does not function for certain Assets
Resolution Note:
Postponed port