Search Unity

Same resolution, but different UI sizes

Discussion in 'Getting Started' started by LetzMakeAGame, Aug 31, 2019.

  1. LetzMakeAGame

    LetzMakeAGame

    Joined:
    Aug 23, 2019
    Posts:
    2
    I'm testing my game in game preview mode (1280x720 Landscape) and UI looks fine. However after building and testing on my mobile device (with the same resolution) UI doesn't look like I wanted.
    I don't use the option "Constant Physical Size" in Canvas and I have already read this guide . What can cause different UI sizes on the same resolution?

    PC:

    Mobile:
     
  2. EdGunther

    EdGunther

    Joined:
    Jun 25, 2018
    Posts:
    183
    Use a layout group for the inventory slots. Also, Thomas Brush covers canvas scaling on different resolutions in his Title Screen video.
     
  3. LetzMakeAGame

    LetzMakeAGame

    Joined:
    Aug 23, 2019
    Posts:
    2
    I already use a layout group for the inventory slots.