Search Unity

Background problem after building project.

Discussion in 'Editor & General Support' started by Roudino, Aug 21, 2018.

  1. Roudino

    Roudino

    Joined:
    Aug 20, 2018
    Posts:
    14
    Hello. I have some problems with background and buttons after building my app. When I click play button on Unity it works fine. I can play/pause, go to main menu etc but when I build my app and run it everything looks weird. Background is stretched and buttons are gone.
    1.png 2.png
     
    Last edited: Aug 21, 2018
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,286
    Looks like an issue with the Anchors on your buttons. I imagine you built your UI with a different aspect ratio and didn't test it with different ones in the editor. Find out what the resolution of your device is and change the GameView to match it. Then fix your anchors.

    https://docs.unity3d.com/Manual/UIBasicLayout.html
     
    Roudino and Joe-Censored like this.