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

uGUI

-

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")

Comments (2)

  1. 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.

  2. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.