Search Unity

Addressables detecting missing asset

Discussion in 'Addressables' started by KB73, Sep 20, 2019.

  1. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
    What is the recommended way of detect/handling exceptions for missing addressables?
    We get an exception right now but try/catch does not work around the loadAssetAsync

    I had a look at the ResourceLocators and im thinking about trying to iterate off all of them at the start of the app and caching then doing a check, all i need is the addressable id to see if it is present

    Any ideas on this? It seems overkill to check everyt ime we load an asset that we have to do a IResourceLocator load per asset first? or is this the intended way?

    thanks