Search Unity

Application Slow with Android

Discussion in 'General Discussion' started by bhuvanesh22, Apr 26, 2016.

  1. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
    HI, I Have creating an app with vuforia in AR, for iOS and Android.

    Actually, in iOS the app working very well.
    But with Android it lags and flickering, and also I can easily communicate with iOS from unity, but not in Android.
    Hope anyone can solve my problem...
    Any help would be appreciated, Thanks in Advance.
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,629
    What does the profiler say?
     
  3. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
    actually it gave me no error.. it's simply built as well.
    but when I open this in Android device then only the App gets very slow.. like playing with very low FPS values
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,629
    What does the profiler say?
     
  5. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
    I'm extremely Sorry, I can't understand what you are asking. I'm actually a very very beginner to this. can u please explain me.. on this
     
  6. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
    this is what my profiler shows when I play the app
     

    Attached Files:

  7. Yash987654321

    Yash987654321

    Joined:
    Oct 22, 2014
    Posts:
    729
    Which version are you using. Try using OpenGL ES 2 instead of 3 for 5.3
     
  8. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,629
    AssetDownloader.DownloadAssetBundleis taking 820ms and allocating 1 mb of garbage. Fix that and a lot of problems will go away.
     
    bhuvanesh22 likes this.
  9. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
  10. bhuvanesh22

    bhuvanesh22

    Joined:
    Mar 31, 2016
    Posts:
    9
  11. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    You said your issue was constant low framerates? Is this the profiler from the editor or with you device attached? it says that it is running at mostly 30fps with some large performance drops but those are probably internal Vuforia stuff. Picking a different frame will give better results as the regular behaviours are made insignificant in that frame (Regular stuff takes around 33ms while that one thing takes 800ms)

    It might be worth looking up a tutorial on using the profiler and making sure it's attached to the device and not your computer.
     
    bhuvanesh22 and Kiwasi like this.
unityunity