Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Hardware resolution scaling not supported fallback

Discussion in 'Android' started by PieterAlbers, Sep 21, 2020.

  1. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    236
    Hi all,

    I am getting an error on a specific Android device that "Hardware resolution scaling not supported, falling back to software scaling (blit)." Which could happen I guess, but there seems to be no way of checking this.
    The result is that the application is rendered in a smaller frame on screen. E..g 1280x720 in the bottom-left of a 1920x1080 screen.

    I can't check Screen.resolutions to see if a specific resolution is supported on Android.
    You don't recieve a setResolution result - as it will revert to software blit automatically.

    Checking currentResolution and any other Display variables doesn't help you either as it will be set either way - so I can't compare with a source- or startresolution.

    In short I am unable to create a fallback for this situation.
    Is there anything I am missing? Is it possible at all?

    -Pieter
     
    JeremyLvChy likes this.
  2. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    236
    Leaving this here for future reference.

    Setting Blit Type to Always will at least fix the rendering issue. Meaning it will revert to 'software scaling' but will blit the image at the right fullscreen size. Both never (obiously) and auto will fail and give you the issue as described above.

    Didn't find a way to check if we were using hard- or software scaling.
     
    JeremyLvChy likes this.
  3. JeremyLvChy

    JeremyLvChy

    Joined:
    Jul 23, 2019
    Posts:
    10
    Any one give an answer ?? same issue happen to me .
     
  4. chentianqin

    chentianqin

    Joined:
    Jan 7, 2021
    Posts:
    3
    Same to me
     
  5. chentianqin

    chentianqin

    Joined:
    Jan 7, 2021
    Posts:
    3
    A temporary solution is to list a black list, and do not call SetResolution() on these devices. Not a sustainable solution.