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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.