Search Unity

【1.1.5】”Invalid Path Exception” do not output status of Failed

Discussion in 'Addressables' started by m-nakayama, Aug 2, 2019.

  1. m-nakayama

    m-nakayama

    Joined:
    Jun 12, 2018
    Posts:
    8
    Hi

    If the required bundle files do not exist, I want the AsyncOperationHundle to output a status of Failed.

    The console has output a log.
    Exception encountered in operation Resource<IAssetBundleResource>(xxxxx_assets_all_6dcc1c3b46f6a5bdd9f3f74645845c51.bundle): Invalid path in AssetBundleProvider: 'Library/com.unity.addressables/StreamingAssetsCopy/aa/OSX/StandaloneOSX/xxxxx_assets_all_6dcc1c3b46f6a5bdd9f3f74645845c51.bundle'.

    But, "isDone" remains False.

    So the request has become an infinite loop.

    Thank you
     
  2. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    954
    Sounds like a bug. How did you get in this state? Just build, then delete the bundle? Or was it something else?
     
  3. m-nakayama

    m-nakayama

    Joined:
    Jun 12, 2018
    Posts:
    8
    Yes I did.

    I intentionally deleted the file, for error handling test.

    The same is true if I intentionally misdirected the address.
     
  4. unity_bill

    unity_bill

    Unity Technologies

    Joined:
    Apr 11, 2017
    Posts:
    954
    got it.
    Looks like the bundle op fails so quickly that the parent op misses the memo. We're looking into it. Thanks for letting us know.
     
    m-nakayama likes this.