Search Unity

Feedback Load different AssetBundle File, but Unity think there are the same?

Discussion in 'Scripting' started by yomunsam, Sep 16, 2019.

  1. yomunsam

    yomunsam

    Joined:
    Mar 27, 2018
    Posts:
    3
    First , execute build AssetBundles:

    use code:

    code1.png

    And we got assetbundle files.

    then , we modify some files in project , and build AssetBundles again,
    now we got new file "meow", and the old "meow" file be renamed "meow2".

    2.png

    the are different assetbundle file:
    3.png

    Preparations are complete. Let's try to load them.

    use code:

    code2.png

    error:
    4.png
     
  2. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
    This makes sense, they aren't the same version of the files, but they are the same in the sense that they are known by the same guid to the assetdatabase.