Search Unity

Big spike on LoadAssetAsync

Discussion in 'Asset Bundles' started by hromoyDron, Feb 3, 2018.

  1. hromoyDron

    hromoyDron

    Joined:
    Jan 24, 2013
    Posts:
    85
    Hello!

    I have very big spike when:

    [syntax=csharp]
    AssetBundleRequest request = bundle.LoadAssetAsync(assetName);
    yield return request;
    [/syntax]

    I try all type of compression (also uncompressed) - nothing has changed

    In this screenshot I load asset over 6mb compressed or 25mb uncompressed (results are the same)



    What should I do to get normal fps on loading assets?
    I thought may be assetBundle.mainAsset help me, but I can't understand how to configure it - it is always null.

    And is it normal to have 1269 in calls?
     
unityunity