Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug UI Element Anchor Point Not Working Correctly

Discussion in 'UGUI & TextMesh Pro' started by knight-games, Aug 10, 2023.

  1. knight-games

    knight-games

    Joined:
    Jul 7, 2023
    Posts:
    5
    Hello, I use 2022.3.4f1. I made a mobile clicker game. I have settings button on the left side of the screen. These buttons have anchor points on the corners of the canvas, and working fine on unity editor and play mode when I change the aspect ratio.

    1.png

    But when I built the game and uploaded on the play store, I can only see the half of the settings button.

    2.jpg

    I have anchor points set correctly and everything working fine on the unity engine play mode. I don't understand whats wrong, please let me know If you have an idea. Thanks for reading
     
  2. karliss_coldwild

    karliss_coldwild

    Joined:
    Oct 1, 2020
    Posts:
    535
    Try updating to latest LTS version (2022.3.6 or 2022.3.7 at the time of writing), there have been quite a few reports recently of people having issues with canvas scaling using Unity 2022 versions older than those.

    As with all Unity updates make sure you have a backup of old project version, preferably using version control, so that you can roll back in case something goes wrong during the update.
     
  3. knight-games

    knight-games

    Joined:
    Jul 7, 2023
    Posts:
    5
    thank you I will do that