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. Dismiss Notice

Wrong game resolution, lower than Native, Android build on device

Discussion in 'Android' started by coldstargames, Feb 3, 2020.

  1. coldstargames

    coldstargames

    Joined:
    Jan 21, 2020
    Posts:
    2
    Hi,
    I have really weird problem with my game build on physical Android device. All works fine in Unity Editor, but after export to android (tablet, landscape mode) game renders with wrong resolution (lower than native):
    tablet has 1920x1200 pix, 16:10 ratio, but game renders as 1440x900 pix for some unknown reason (WXGA+ mode?)

    What can possibly cause this strange issue to make real android device to render game at lower resolution while I set Native resolution in player settings in Unity? As said, all works perfectly in Unity Editor, worked fine during development and deploying to android tablet, didn't notice this bug until after publishing in store.
    I'm using Unity 2018.4.16, latest version of Unity & third-party assets, also using Atlas swapping script for HD/UHD resolution.


    Game is already in production - published, and here are some weird facts, made all possible cross-tests:
    -if I build & run from Unity to android device with wi-fi On, naturally, game starts with 1440x900 px resolution,
    -if I turn wi-fi on device Off, and build&run the same project on device, installed game starts with Native resolution: 1920x1200 px!
    -simply change the name of package in Unity (even one letter), wi-fi on, build&run on device, game starts also with Native resolution: 1920x1200 px

    What's going on here? :( anyone else experienced similar problem?
    Appreciate any tips on what I could check and debug in order to fix this strange behaviour!
     
  2. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,745
  3. coldstargames

    coldstargames

    Joined:
    Jan 21, 2020
    Posts:
    2
  4. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    You should have posted your question there as it has nothing to do with general discussion. All you can now is to report your own post and ask the mods to move it.
     
    coldstargames likes this.