Search Issue Tracker
By Design
Votes
0
Found in
5.3.2p1
Issue ID
779818
Regression
No
Scroll Rect Content children receive OnRectTransformDimensionsChange callback although their position doesn't change
Steps to reproduce:
1. Open attached project "779818.zip"
2. Open scene "test"
4. In hierarchy, expand Canvas and notice that it has Scroll View
5. Inspect Scroll View Content and notice that it has a number of items
6. Run the scene
8. Scroll a little and notice how OnRectTransformDimensionsChange callback spams console. After few seconds of scrolling there're already more than 500 messages
Actual result: Content as well as its children are receiving OnRectTransformDimensionsChange callback
Expected result: Only Content receives this callback. Content items/children don't have their local position changed and therefore shouldn't receive OnRectTransformDimensionsChange callback.
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4f1, 5.4.0b10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Add comment