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

Unity 2019.3 - Android app fails to run on device

Discussion in '2019.3 Beta' started by angel1st, Dec 27, 2019.

  1. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    Hi there,
    I have just installed Unity 2019.3.0f3 and since I am developing a mobile game, I decided to quickly check if I can build an Android app with this Unity version.
    During the installation, I checked in Android bundle along with Android SDK & NDK, so I am using the libraries downloaded by Unity Hub.
    I created URP project, deleted its default scene and made a very simple one - just a cube and a sphere.
    These are my project settings
    unity_2019_3_settings_mobile.png

    Then I compiled the project successfully. When I ran it on my device (Galaxy S8, Android 9) however, It simply fails - I have a black screen for a second and then the app closes w/o even able to see the Unity splash screen.
    Please find enclosed logcat file (unity.zip).

    I would appreciate your feedback how to handle this case, thanks.
     

    Attached Files:

  2. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    Any chances to receive a feedback on this? I am struggling with this issue a couple of weeks and still has zero feedback. I start wondering if there is anyone who is using Unity 2019.3 to build Android games...
     
  3. satchell

    satchell

    Joined:
    Jul 2, 2014
    Posts:
    107
    Try using LZ4HC compression in the build window.
     
  4. Johannski

    Johannski

    Joined:
    Jan 25, 2014
    Posts:
    816
  5. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    @satchell - Nope, it changed nothing at all.
     
    satchell likes this.
  6. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    @Johannski - thanks, man, you saved my day! That's it. BTW - ironically, selecting "Proguard" didn't make apk smaller, so I guess Unity simply forgot to provide a default proguard file and that causes the issue.
    Anyway - thanks again, now I can at least experiment with 2019.3 and wait until Unity eventually fix it.
     
  7. Johannski

    Johannski

    Joined:
    Jan 25, 2014
    Posts:
    816
  8. VaidasM

    VaidasM

    Unity Technologies

    Joined:
    Jun 27, 2017
    Posts:
    41
    MechEthan, angel1st and Johannski like this.
  9. Johannski

    Johannski

    Joined:
    Jan 25, 2014
    Posts:
    816
  10. angel1st

    angel1st

    Joined:
    Nov 16, 2019
    Posts:
    35
    Thanks, @VaidasM, I already voted on it. Is there a way to watch the issue, so I would know once it being fixed?
     
  11. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,110
    Unfortunately not.