I’ve setup a small UI Menu with elements and what-not. The elements placed in the editor are misplaced when I build the project and I’ve tried different anchors, from the corner anchor to stretch anchors. I’ve looked through tons of forums, yet to find no solution.
The top button is anchored to the top left, the same for its pivot.
The middle button is anchored to the middle, the same for its pivot.
The bottom button is anchored to stretch to all sides, the pivot is set to the middle.
I’ve tried everything I could think of with anchoring and all that, it still gave the same result.
All of the elements were out of place when built, as shown in the image below.
The canvas scaler is set to constant pixel size, as “scale with screen size” uses a fixed reference resolution and that doesn’t go well when I’m trying to make the resolution dynamic.