Search Unity

Why are the generated assetbundles different for the same assets

Discussion in 'Asset Bundles' started by songguangze, Sep 29, 2021.

  1. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    My project uses the BuildPipeline.BuildAssetBundles interface to generate AssetBundles. The version control tool used in the project is Git. Every time, AssetBundles are generated for all resources. The generated options are BuildAssetBundleOptions.Determinestic | BuildAssetBundleOptions.ChunkBasedCompression However, after switching Branch, some assets that have not changed are changed after the AssetBundle is generated.
    I used the tools webextract.exe and binary2text.exe in Unity Tools to compare the results as follows, what is the reason for this and how can i do it ?
    I just want to generate changed assetbundles
     

    Attached Files:

  2. Neto_Kokku

    Neto_Kokku

    Joined:
    Feb 15, 2018
    Posts:
    1,751
    It's a known bug: Unity's asset bundle generation still has quite a few issues generating deterministic bundles. The only way around it is to manually manage your bundles so you don't regenerate the ones you know haven't changed.
     
  3. songguangze

    songguangze

    Joined:
    Dec 26, 2018
    Posts:
    12
    :(:(:(
    it's bothers me too much
     
    Petr777 likes this.