Hello developers,
I have made a few guis for my game but It’s very hard to get the scaling and the position right, I use a plugin called AutoScale Lite which is used for fitting guis on all devices. I watched a tutorial on how to do this and use position scale and size scale in unit conversion in the plugin:
Is your window size in studio max screen? If you are using a smaller window in studio than in game, then the resolution will not match and so the UI won’t be quite the same. Always edit UI scaling on the resolution you’d play on.
I don’t use the plugin, but are you using UIAspectRatioConstraint?
This solution helped me, and it should help you with this, especially the section on UIAspectRatioConstraint… just make sure to apply the settings as it instructs in #3:
So your size is offset instead of scale… use scale, you will have to play around with number to find the size u like, but using scale will keep the same size across different screen resolutions… this will be your fix. Keep in mind scale numbers are very low, usually under 1.
Even without the UIAspect you will notice the buttons remain the same size when you play on different devices.
The UIAspect will keep all the buttons in the same aspect to each other regardless how big or small the screen gets. To test, go into emulator and see it change (or not change).