Why is the scaling of my UMG and camera different when I first start my game?

I been experiencing a problem with android on start up. The scaling of the UI and Game are not correct and it is leading to unwanted behavior. I have been testing on a Nexus 5 and a Samsung. I have not been able to reproduce this problem on Samsung. On my Nexus I recently started noticing strange sizing issues with UMG and my game camera. Here are some Examples. The first 3 are the problems and the last 3 are what they should look like. The first picture is the entry screen for my application, clicking the “Quit” button actually triggers the hit box of the “Play Button”. The second image is where I choose a level to play, I need to click the red box to actually trigger the “Basic” button, I still cannot figure out how to click “Cancel”. The third picture shows that this problem is not limited to UMG and actually extends to the in game camera. Now there are a few ways this problem does not occur or can be fixed. The fix I found, which allowed me to produce the last 3 pics, was to press the home key then resume the app. The other way is, reinstall the game and the first time it runs the problem won’t be there. Some other details, most of my game logic is in the PlayerController; I show the UI in the BeginPlay function of the PC.

Hello mashumafi,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue in a clean project?
  3. Could you provide screen shots of any blueprints/widgets that may be involved with this issue?

I’ll try to reproduce it

After some testing, the problem seems to occur when “Project Settings>Platforms>Android>Show launch image” is set to False. I tested on 1.12 and the problem persists.