Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.3.6p1
Issue ID
839215
Regression
No
ScrollRect performance is very slow when its 'Content' object contains children containing LayoutGroup sub-children
- The ScrollRect component in Unity's UI performs very slowly when its 'Content' contains children objects containing LayoutGroup sub-children objects.
- The drop in performance is noticed when the ScrollRect's 'Content' is being dragged up and down.
To reproduce:
1. Open 'scroll-rect-perf' in Unity (version tested was in 5.3.6p1)
2. Open the Profiler window in Unity, enable 'Deep Profile'
3. Open the scene 'ScrollWith1000Items'
4. Press the Play button in Unity to run the scene, NOTE: it's likely this scene will take a considerable time to start up
5. Scroll the container up and down by clicking with the left-mouse-button on any of the children objects and dragging the mouse upward or downward with the left-mouse-button still held down
6. Notice the performance in the Profiler showing much slower behaviour than the previous test. On average hardware, the performance should have degraded to the point of the end-user being unable to comfortably scroll up and down to elements of their choice.
Reproducible: 5.5.0b7, 5.4.1p4, 5.3.6p7, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Physics SyncColliders 3x-7x performance regression from 2022LTS to U6
- ListView's '+' button causes a recursively dispatching event when the visual element area is filled up
- Soft keyboard closes immediately after multiple touches are made if Pointer Behavior is set to SingleUnifiedPointer
- UI Image batching breaks when interleaving elements with mixed z-positions and materials
- KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs
Add comment