[SOLVED] [BUG] Anchor position is wrong

I post few screenshots to explain it better.
The parent object “GameModes” has s specific size and anchor. Also, it’s pivot is on middle-left.

When I select the child “TexasHoldem”, you can see that the anchor is placed on the pivot of the parent, but the object, in position [0, 0, 0] is not centered on the anchor.

So, or the anchor arrows are wrong, or the position is wrong.
I’d go for the former.

Any thought about this?

It would help if you could either share a link to your project or if you can make another project with a simple test case that we can examine.

https://playcanvas.com/project/536769/overview/ui-issues

Open “Anchor Issue” scene and select the child called “AnchoArrowsAreWrong” and see that the arrows of the anchor are on the left (aligned with the pivot of the parent).
The position of the child in (0, 0, 0), and anchor is set as “Center”. So something is wrong.

Yeah that does look like a bug - looking into it. Thanks for reporting.

I just deployed a fix for this. Can you refresh your Editor and check again?

1 Like

It works. Thank you!

1 Like