Search Unity

Crashes when loading Meshes from AssetBundle

Discussion in 'Editor & General Support' started by l33t_p33t, Jan 19, 2018.

  1. l33t_p33t

    l33t_p33t

    Joined:
    Jul 24, 2014
    Posts:
    4
    Unity consistently crashes and gives the following error when loading Meshes with varying levels of ModelImporterMeshCompression levels set on the meshes but only if some of the assets have the ModelImporterMeshCompression.off setting:

    The file 'archive:/CAB-302db5dae8b0c4571ced5e8776d5788b/CAB-302db5dae8b0c4571ced5e8776d5788b' is corrupted! Remove it and launch unity again!
    [Position out of bounds!]
    UnityEngine.AssetBundle:LoadAsset(String)
    MeshLoaderTest:LoadMesh(AssetBundle) (at Assets/Scripts/MeshLoaderTest.cs:14)
    AssetBundleLoaderTest:Start() (at Assets/Scripts/AssetBundleLoaderTest.cs:13)

    Not sure of any workaround - would love any ideas.
     
  2. Colin49

    Colin49

    Joined:
    Oct 2, 2013
    Posts:
    9
  3. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    782
    I guess the only option is to go back to 2017.2. It´s not addressed in the pach 1-4 releases for 2017.3, but I haven't tested though. I have already spent so much time on wierd asset bundle bugs from 2017.3...