Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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:
    12
    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:
    12
    By the way, this problem occurs both on Android and IOS platform.