Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Excessive loading time for assetbundles on android

Discussion in 'Editor & General Support' started by HevyDevy83, Jan 18, 2016.

  1. HevyDevy83

    HevyDevy83

    Joined:
    Jan 22, 2014
    Posts:
    12
    Hey folks,

    currently we have a big issue with loading assetbundles on android. The loading times are unproportionally longer than on iOS and in the editor. It seems there is a really big spike at Loading.readobject.
    I tried to find out where the problem lies and was able to reduce the loading times from 2200 ms to 1200 ms by removing grass and flowers from the prefab (overall around 90 gameobjects) o_O

    The grass-gameobjects are all using the same shared mesh and material and the flowers also use the same shared mesh and material, meaning that i actually only got rid of 2 meshes and 2 materials. How is it possible that removing several copies of the same gameobject has such a big impact on the loading times and how can i improve the without removing all of the gameobjects?

    Thanks in advance

    Chris
     

    Attached Files: