How to reproduce:
1. Open the attached project (“IN-9429_repro.zip“)
2. Open Memory Profiler (Window → Analysis)
3. Capture New Snapshot
4. Open Window → MultiColumnTreeViewExampleWindow
5. Click “Reload” a few times and Capture New Snapshot
6. Compare both snapshots in Memory Profiler (Unity Objects tab)
Expected result: Memory of “<No Name>” meshes gets released
Actual result: Memory of “<No Name>” meshes does not get released and keep increasing after clicking “Reload”
Reproducible with: 2022.2.0a9, 2022.2.0b5, 2023.1.0a6
Not reproducible with: 2022.1.13f1
Could not test with: 2022.2.a8 and below (Memory Profiler depends on features in newer versions of UI Toolkit)
Reproducible on:
macOS 12.4. (Intel)