all your canvases in your game should be set to "Scale With Screen Size" then in the project settings, under the player bit, set your screen size for your build. Then make sure all your elements on your canvas are anchored so that they dont scale incorrectly. I hope this helps !!