Search Issue Tracker

Active

Votes

0

Found in

6000.0.26f1

6000.1.0a3

Issue ID

UUM-86226

Regression

No

GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding

--

-

Reproduction steps:
1. Open the attached “repro_IN-87532“ project
2. Open the “Assets/Experiment-1004/New Scene.unity“ Scene
3. Enter the Play Mode
4. Open the Profiler (“Window → Analysis → Profiler“)
5. Select anywhere in the “CPU Usage“ section of the Profiler
6. In the search of the Profiler, input “PostLateUpdate.UIElementsRepaintPanels“
7. Notice that the “GC Alloc” value is 0
8. Go back to the Game view and press “Add New“
9. Input anything in the “Barang“, “Watt“ and “Pemakaian/Jam“ parameters and press “Tambahkan“
10. Go back to the Profiler tab and press anywhere in the “CPU Usage“ section
11. Check the “GC Alloc“ value of the “PostLateUpdate.UIElementsRepaintPanels“

Expected result: The value is still 0
Actual result: The value is higher than 0

Reproducible with: 6000.0.26f1, 6000.1.0a3
Couldn’t test with: 2021.3.45f1, 2022.3.52f1 - A lot of missing property errors, as the “SimulasiListrik.cs“ Script requires the 2.0.0 version of the Unity UI package to function properly and these Editor versions only support the 1.0.0 version

Reproducible on: Windows 10 (22H2), Windows 11 (23H2)
Not reproducible on: No other environments tested

Note:

* Reproducible in Player
* According to the reporter, “GC Alloc” value becomes higher than 0 because the binding of the items (which can be found in the “Assets/Experiment-1004“ folder with names: CellBarang, CellBiayaBulan, CellJamNyala, CellKwhBulan and CellWatt) is assigned to every frame despite that “OnSourceChanged“ is set

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.