Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.4.1f1
Issue ID
868791
Regression
Yes
Scroll Rect is clamping Canvas outside of the content
How to reproduce:
1. Open the attached "ScrollRectBug" project
2. Open the "Game" scene and play it, notice that the Scroll Rect is clamping Canvas movement in the content correctly
3. Open the "Repro" scene (which loads the "Game" scene) and play it, Scroll Rect is clamping Canvas outside of the content
Reproducible: 5.4.1f1, 5.5.0p4, 5.6.0b3
Not Reproducible: 5.3.7p3
Note: The issue persists in the build of the project, even if you remove "Repro" scene from the Scenes In Build and leave only the "Game" scene
The issue seems to be caused by the scrollview's rect value during ScrollRect.UpdateBounds(), which has the right value when the scene is loaded directly, but is (0,0,0,0) when loaded additively
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment