Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X
Votes
1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
Add comment