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

Android App SO Slow After Build

Discussion in 'Editor & General Support' started by girlinorbit, Sep 23, 2019.

  1. girlinorbit

    girlinorbit

    Joined:
    Apr 27, 2019
    Posts:
    114
    I've done quite a bit of research on this and can't find anything on it that actually helped. I am building my Android app directly to my Android device and it goes well, but when the app opens, it take FOREVER to start going. Once it does get going, it is SO slow on retrieving data. I have tried removing all Debug.Log's and that didn't help.

    Any suggestions would be most welcome!
     
  2. shawndingo

    shawndingo

    Joined:
    Oct 4, 2018
    Posts:
    83
    Well it can be a number of things. Draw calls etc. Depends on what kind of app or game you are making. If the game or app requires a lot of loading at startup then it will be sluggish. If you are loading from a splash screen you may want to look into async . But without further info it's hard to say.
     
  3. girlinorbit

    girlinorbit

    Joined:
    Apr 27, 2019
    Posts:
    114
    I am making a simple 2D game which is a mobile app of an online game. I cannot get around the Unity splash screen because I am using Unity Personal. I am using coroutines to get my data. Is this possibly what is slowing it down?
     
    fazhom likes this.
  4. fazhom

    fazhom

    Joined:
    Jan 18, 2013
    Posts:
    10
    Hi

    I had a previous game that runned smoothly when compiled in Unity 2017. When I recompiled it for an update in 2019.3, every thing went to hell too. At first I thought it was my game, my code.

    But I just compiled a game with almost nothing in my scene and a dragon flying from A to B using the Universal Render Pipeline.
    Everything is so slow, it's unplayable...

    I just don't understand.
     
  5. Regone

    Regone

    Joined:
    Aug 1, 2014
    Posts:
    35
    I'm having the same issue on 2019.3.7f1, this is so dumb.
     
  6. Krnitheesh16

    Krnitheesh16

    Joined:
    Apr 22, 2020
    Posts:
    13
    Still, I'm having the same issue on 2021.3.0f1
     
  7. SoftwareGeezers

    SoftwareGeezers

    Joined:
    Jun 22, 2013
    Posts:
    900
    I had this with using 2020 on an LG G3. In the end I decided to use 2019. I've noticed a few apps on the Google Play that take forever to load. A trace showed all sorts of long graphics setup (18 seconds - InitialiseGraphics).

    My thread here:
    https://forum.unity.com/threads/unity-2020-unusable-minute-long-load-times-on-mobile.999242/

    My advice first of all is try a different device. Make sure you profile as it's obvious when it's the phone's fault. If there's a clear problem with the hardware initialising, this needs a proper bug report.