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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment