Search Unity

few question about assetbundle

Discussion in 'Asset Bundles' started by Sylon87, Jul 15, 2020.

  1. Sylon87

    Sylon87

    Joined:
    Aug 20, 2018
    Posts:
    196
    hello!
    i:m having some issue with some resource load, it:s very slow...

    the resource is a variant of another one(are assetbundle going to load the base then the variant? will "brake" the variant state speed up the resource load?


    this resource are going to read one sprite from a folder that contains some images, are assetbundle going to load the entire folder and not just the target image?


    thank's in advance for your help
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    There are currently two known issues in 2018 and 2019 Unity releases:
    • Asset Bundles: [Performance Regression] AssetBundleLoadAllAssets - Load_Prefabs_AllAssets is significantly slower than 18.4 (1203512)
    • Asset Bundles: [Performance Regression] AssetBundleLoadSingleAssets : LoadAsync_Prefabs_SingleAssets is significantly slower than 18.4 (1203511)
    https://unity3d.com/unity/whats-new/2019.4.3

    Perhaps the bad performance you see is related to that?!
     
  3. Sylon87

    Sylon87

    Joined:
    Aug 20, 2018
    Posts:
    196
    no, i'm not using it, i'm just wondering because i'm loading an asset runtime, that is a variant of another, and where i'm wondering is if i load test_variant, are going to load the original test object too?
    (broke this relation will may solve my problem?)

    and also this variant are going to load an image from an image folder (there is maybe 30 images inside)
    are the assetbundle going to load all the folder instead just that one?