Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2018.3.3f1

2019.1.0a1

2019.2.0a1

Issue ID

1121824

Regression

No

RectTransform Anchor Mode returns wrong results when "Undo" is used

uGUI

-

How to reproduce:
1. Open attached project (scenefile.zip)
2. Open the scene "UnityScrollbarBug"
3. In the scene heirarchy, select the "Handle" of one of the scroll bars (e.g. Canvas > Scroll View > Scrollbar Horizontal > Sliding Area > Handle)
4. In the Inspector for the Handle, find the RectTransform. Notice that the anchor mode is configured to "Stretch" horizontally and vertically
5. Change "Left", "Top", "Right", or "Bottom" to any other value
6. Undo (Ctrl-Z)
7. Notice that the size of the handle changes completely, and the Anchor Mode changes from "Stretch" to "Bottom Left"

Reproducible with: 2017.4.19f1, 2018.3.3f1, 2019.1.0b1, 2019.2.0a3

Actual results: Anchor changes from "Stretch" to "Bottom Left" once Undo is used
Expected results: Anchor Mode stays the same as it was

  1. Resolution Note (2019.2.X):

    low priority and minor or cosmetic issues. likely won't fix.

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.