Search Issue Tracker

Duplicate

Votes

0

Found in

2022.2.5f1

Issue ID

UUM-35824

Regression

No

BaseVerticalCollectionView.Rebuild allocating GC when selecting a specific custom window

--

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the Units [PREVIEW] Window (Miniatures > Windows > Units [PREVIEW])
3. Open the Abilities [PREVIEW] Window (Miniatures > Windows > Abilities [PREVIEW])
4. Open the Profiler Window (Window > Analysis > Profiler)
5. In the Profiler Window select Editor
6. Select the “Abilities [PREVIEW]” Window then select the “Units [PREVIEW]” Window
7. Observe the Profiler Window and the Editor’s performance

Expected result: The Editor does not slow down and no spikes are visible in the Profiler Window
Actual result: The Editor slows down drastically and spikes are visible in the Profiler Window

Reproducible with: 2022.2.5f1
Could not test with: 2020.3.48f1 (Multiple errors in the CommandDispatcher.cs script),
2021.3.25f1 (two “error CS0246” and three “error CS0117” errors),
2022.2.20f1 (error CS7036: There is no argument given that corresponds to the required formal parameter),
2023.1.0b17, 2023.2.0a15 (the project uses custom packages, so they can not be upgraded)

Reproducible on: Intel MacOS 13.3.1

Notes:

* The issue is more visible when quickly switching between the two windows
* The issue is not visible when switching from the “Units [PREVIEW]” Window to the “Abilities [PREVIEW]” Window
* There is a ~12 MB GC alloc during the spikes

  1. Resolution Note:

    This issue was fixed as part of the fixed for UUM-33402
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-33402

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.