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
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
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.