Search Issue Tracker

Fixed

Fixed in 2022.3.21f1, 2023.2.11f1, 2023.3.0b7

Votes

1

Found in

2022.3.13f1

2023.1.20f1

2023.2.0f1

2023.3.0a14

Issue ID

UUM-56007

Regression

Yes

The Esc key changes the value of an unedited property when editing a property of a "Rect Transform" component that has its anchor preset set to "stretch"

--

-

Steps to reproduce:
1. Open the user-attached “Bug - Esc on rect transform.zip” project
2. Open the "SampleScene"
3. In the Hierarchy, select the "Test" GameObject (child of "Canvas")
4. In the Inspector, click on the "Left" property of the “Rect Transform” component and write "300"
5. Press the Esc key to cancel the change
6. Observe the "Right" and “Left” property values

Expected result: The value of "Left" is reset to the original one (0), and no other properties are changed
Actual result: The value of "Left" is reset but the value of "Right" is set to -150

Reproducible with: 2022.2.0a11, 2022.3.13f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14
Not reproducible with: 2021.3.32f1, 2022.2.0a10

Reproduced on: Windows 11 Pro (22H2)
Not reproduced on: No other environment tested

Notes:
- To reset the changes, 2 consecutive undo operations need to be performed: firstly, “Undo Modified RectTransform Values”, and then “Undo Set Float Values”
- Reproducible in a new project

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.