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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.