Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.0f1c1
2022.1
2022.2
Issue ID
1383554
Regression
No
RectTransfom Child's position changes automatically when Parent's width is relatively large and Child is anchored left or right
Changing Parent object (under Canvas) RectTransform's width will make its Child's Anchored position slightly changed due to precision issue
Reproduction steps:
1. Create any object under Canvas
2. Set the object's RectTransform's width to 1000
3. Add a Child object under the previously created Parent (which is a child of Canvas)
4. Set the down most Child object Anchor Preset to left or right and its position X to 14.4
5. Increase the Parent's width gradually, and observe the Child's position X
Expected result: Child's object relative position X does not change
Actual result: When the Parent object width increases to above 1050, Child's position X is changed to 14.40002 automatically
Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a6
Notes:
- Down most Child object Anchor Preset must be set to left or right
- It is not possible to set the Child's position back to 14.4 again without recreating the object
- Does not reproduce with the position Y or by changing parent's height
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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Resolution Note:
After investigation we have deemed this a low priority issue that wont be fixed in the near future. There is float imprecision issues. If you feel this is a wrong assessment please reach out again.