Search Issue Tracker
By Design
Votes
0
Found in
2022.1.0a12
2022.1.0b5
2022.2
Issue ID
1398261
Regression
Yes
[uGUI] Choosing Rect Transform left or right Anchor Presets offsets the element by 0.5 in the scene
Steps to reproduce:
1. Open the attached project
2. Open "SampleScene"
3. Select "Button" or "Button (Legacy)" GO in Hierarchy
4. Double click the GO or press F when selected to see it in the scene
5. In the Inspector find Rect Transform component
6. Click on the Anchor Preset icon
7. Select the middle anchor preset and then select either left or right
Expected results: The GO doesn't actually move in the scene
Actual results: The GO is offset by 0.5 in the scene if the anchor preset is changed to left or right from middle
Reproducible with: 2022.1.0a12, 2022.1.0b5, 2022.2.0a2
Not reproducible: 2020.3.27f1, 2021.2.9f1, 2022.1.0a11
Notes:
- Tested with Buttons and Text components
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note (2022.2.X):
Issue appears when the canvas is set on .5 of a pixel. The calculation to keep position struggles to subdivide a half pixel. and thus a slight shifting appears.