Search Issue Tracker

Fixed

Fixed in 2022.3.44f1, 6000.0.17f1, 7000.0.0a2

Votes

27

Found in

2022.3.28f1

6000.0.1f1

7000.0.0a1

Issue ID

UUM-72241

Regression

No

MultiColumnListView causes a memory leak when repeatedly shown and hidden

--

-

Reproduction steps:
1. Open the attached "MCListViewTest" project
2. Open the "Assets/Scenes/SampleScene" scene
3. Enter the Play mode
4. Open the Task Manager
5. Observe the Unity Editor memory usage
6. In the Game view, click on the left "Show / Hide" button 20 times
7. Observe the Unity Editor memory usage in the Task Manager

Expected Result: Memory usage has not increased
Actual Result: Memory usage has increased a lot

Reproducible with: 2022.3.28f1, 6000.0.1f1
Could not test with: 2021.3.38f1 (MultiColumnListView feature does not exist)

Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested

  1. Resolution Note (fix version 6000.0.17f1):

    An issue has been found and fixed with header elements being kept in memory because of leaking references through events that were not disposed properly.

  2. Resolution Note (fix version 2022.3.44f1):

    An issue has been found and fixed with header elements being kept in memory because of leaking references through events that were not disposed properly.

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.