title: Unity Scaling for all Aspect Ratios for all Android mobile devices
body: <p>I am new to Unity and I have this "issue".</p>
  
  <p>I am trying to make a simple 2D mobile game (Android for now) that will be in portrait mode always but I don't manage to have the same result in all different screen sizes.</p>
  
  <p>The problem is when I am trying to have the screen scaled equally in all different screen sizes, but what I get is the background cutoff either on top-bottom or left-right (I know that has to do with the <code>Match Width Or Height</code>) when I am trying to change screen size. </p>
  
  <p>So what I am using in Canvas Scaler: <code>Scale With Screen Size</code> with Reference Resolution <code>X:1080 Y:1920</code> and a background image of size 1080x1920. </p>
  
  <p>When I try to resize to larger screen resolution (for example 1080 x 2160):</p>
  
  <ul>
  <li><p>using <code>Shrink</code> the background is cutoff</p></li>
  <li><p>using <code>Expand</code> I get "black bars".</p></li>
  <li><p>using <code>Match Width Or Height</code> with <code>Match: 1</code>, I get "black bars" or <code>Match: 0</code>, the background is cutoff on the sides.</p></li>
  </ul>
  
  <p>OR also when resizing to smaller ratio (3:4) I get either black bars or background cutoff on the sides.</p>
  
  <p>All of the 16:9 (576x1024, 720x1280, 1080x1920, 1440x2560, etc) seems to be correct.</p>
  
  <p>So my question is, in which way I can support all different mobile screen sizes including all different aspect ratios without getting my background cutoff or getting the black bars on the sides?</p>
  
  <p>Thanks in advance.</p>