Search Issue Tracker
Not Reproducible
Votes
6
Found in
5.6.0f3
Issue ID
908514
Regression
No
Scroll Rect (Script) Content's Pos Y is randomly set in Scene view after exiting Play Mode
To reproduce:
1. Open user's attached Unity project "ScrollViewTest"
2. Open scene "Test"
3. Canvas-->Scroll View-->Viewport-->Content
4. Go into Play Mode
5. Exit Play Mode
Expected result: Content should stay in the same place after exiting Play Mode as it was before entering it
Actual result: exiting Play Mode results in Content changing its Pos Y to some random number in range of around 190-220
Reproduced on: 5.5.3p2, 5.6.0f3, 5.6.0p4, 2017.1.0b1
Note: added a gif "ContentBug.gif" of how the bug is reproduced
Note: in 2017.1.0b3 after exiting Play Mode the Content still goes to a random Pos Y but gets returned to Scroll View panel after a second (added a gif "2017beta3.gif")
Note: in 2017.1.0b4 after exiting Play Mode the Content still goes to a random Pos Y but gets returned to Scroll View after clicking on another gameObject and
the clicking again on the Content gameObject (added a gif "2017beta4.gif")
Add comment
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
michaeleconomy
Aug 31, 2018 18:05
I had a simular issue. Except it was changing the y pos every few seconds while (even when game was not running), so my scene constantly had unsaved changes. I fixed by making the content inside my "content" rect a little bigger.
HHammerite
Dec 13, 2017 11:32
I am experiencing the same issue, it leaves the scrollview looking rather buggy. Mine always returns to a Y Pos of 210.