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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment