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 GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.