Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

AssetBundle crash on 5.5.0f2

Discussion in '5.5 Beta' started by crushforth, Nov 25, 2016.

  1. crushforth

    crushforth

    Joined:
    Jul 22, 2010
    Posts:
    113
    Is there a work around for:

    " Crash at "AssetBundleLoadFromAsyncOperation::TryToLoadAndInitializeAssetBundle" when AssetBundle is created incrementally (849633)"

    mentioned in the Release Notes?

    Is there a way to not build asset bundles incrementally?

    Cheers

    -Craig
     
  2. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    702
    To my understanding, "Incrementally" means that you're trying to build an Asset Bundle on top of an old one. In that case, I'd try to delete (or move) the old bundles from their location before building again. This, I think, means it's a fresh build, therefore not "incremental".

    BUT. I might be 100% wrong.
     
  3. crushforth

    crushforth

    Joined:
    Jul 22, 2010
    Posts:
    113
    Thanks Alexandre.

    I got it to work in the end. Some combination of the following 2 build options and deleting old asset bundles seemed to fix it.

    "BuildAssetBundleOptions.ForceRebuildAssetBundle | BuildAssetBundleOptions.DeterministicAssetBundle"

    I didn't experiment too much but if I had to guess it was 'DeterministicAssetBundle' that was the turning point.