Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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:
    224
    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...
     
unityunity