Search Unity

AssetBundles are inconsistent in Unity5.6.4p3

Discussion in 'Asset Bundles' started by tempbuffer, Jan 6, 2019.

  1. tempbuffer

    tempbuffer

    Joined:
    Dec 6, 2012
    Posts:
    13
    Hi all,

    In my project, we use AssetBundles to hot-update the game resources (Unity5.6.4p3). But I have notices two strange cases of inconsistency:
    - Sometimes, the generated AssetBundles have different hash values (fetched from top manifest) but their assetbundle files are identical (compared by MD5).
    - Sometimes, the generated AssetBundle files are different (compared by UltraEdit, only 8 bytes diff) but their hash values are identical.

    In most of the cases, the source files of inconsistent AssetBundles are SceneAssets. However, there are still some normal cases like prefabs (with only one texture reference).

    I can make sure the source assets are identical. There is a similar issue here but no answer yet: https://forum.unity.com/threads/the...h-time-if-i-remove-the-library-folder.494879/

    This problem is really annoying for my project, thanks for help!
     

    Attached Files:

  2. tempbuffer

    tempbuffer

    Joined:
    Dec 6, 2012
    Posts:
    13
    By the way, this problem occurs both on Android and IOS platform.