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 slower than other platforms

Discussion in 'Android' started by bladerunner69008, Mar 14, 2021.

  1. bladerunner69008

    bladerunner69008

    Joined:
    May 2, 2019
    Posts:
    21
    Hello,

    I have a game running on Pc/Mac, and then iOS, and android.

    The game performs much slower on Android (Samsuns S8 for instance) than on iOS (iPad 2016, iPhone XR).

    This is observable when showing a subview, loading a huge grid of loaded prefab

    Is there any reason/settings that should be considered in any project ?
    The code is the same for all platforms, 64-bits
     
  2. spryx

    spryx

    Joined:
    Jul 23, 2013
    Posts:
    556
    Last edited: Mar 14, 2021
    tree_arb likes this.
  3. bladerunner69008

    bladerunner69008

    Joined:
    May 2, 2019
    Posts:
    21
    Thanks for the link, I have a look !

    By the way, as the main lag comes from the instantiation of the same prefab thousands of time to make the hex map fo the game, do you know an article tackling with this ?
     
  4. spryx

    spryx

    Joined:
    Jul 23, 2013
    Posts:
    556
    No but if you're doing it ahead of time as like an object pool, you might be able to cleverly hide it like in an intro scene. You might also want to consider reducing the number of instances, to that which is on screen.