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.

Bug APK build on older phones experience gang green visual artifacts.

Discussion in 'Editor & General Support' started by SilverStorm, Sep 27, 2023.

  1. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    711
    I am using Windows 10, Unity 2022.3.8f1 LTS, URP edition and am making a 2D game that runs fine on 2 more modern android phones however when building to test on older phones that use the marshmellow 6.0 Api I experience some crazy matrix visual artifact and lines running up and down the game and it only shows 30% of the screen.

    I am wondering what could possible cause this perhaps there are extra steps like shaders or something that need to be done to get it to work on older phones maybe I don't know. I know Ipads are also using older api so I am worried about that too.

    As far as I know I have set it up to target the latest api 33 or so and the minimum is set to 5 or 6 so it should work.
    My best guess as to this error is that it's perhaps a URP only issue because I can run many app store games on the marshmallow 6.0 api and have made a Unity game for it before using Unity 5 Standard.
     

    Attached Files:

  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,235
    Looks like you have at least one frame where you don't have at least a full-screen Camera or a full-screen UI overlay image.

    Any pixel you don't touch in a given frame can and will glitch.
     
  3. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    711
    Are you sure about that - then why does it work fine on mid range and modern smartphones?