Search Unity

Question Using Addressables when Offline

Discussion in 'Addressables' started by ImpossibleRobert, May 27, 2021.

  1. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    527
    Hi,

    give that I have loaded an addressable at least once, should it be loading from a local cache automatically if the user is offline? In the editor this seems to be exactly the behaviour. When doing the same on the Oculus Quest, I can see in the error log that a remote connection is tried and then simply an error is thrown without using any local cache.

    Having a true offline mode on Quest would be my main scenario though. Is there a specific setting that needs to be set?

    Cheers, Robert

    *Log*

    Code (CSharp):
    1. 2021.05.27 09:25:30.967 20989 21030 Error Unity Curl error 6: Could not resolve host: travrsal-alpha.sfo2.cdn.digitaloceanspaces.com
    2. 2021.05.27 09:25:30.967 20989 21030 Error Unity
    3. 2021.05.27 09:25:30.971 20989 21031 Error Unity Curl error 6: Could not resolve host: travrsal-alpha.sfo2.cdn.digitaloceanspaces.com
    4. 2021.05.27 09:25:30.971 20989 21031 Error Unity
    5. 2021.05.27 09:25:30.992 20989 21011 Error Unity RemoteProviderException : TextDataProvider : unable to load from url : https://travrsal-alpha.sfo2.cdn.digitaloceanspaces.com/Worlds/Gallery/Android/catalog.json
    6. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityWebRequest result : ConnectionError : Cannot resolve destination host
    7. 2021.05.27 09:25:30.992 20989 21011 Error Unity url : https://travrsal-alpha.sfo2.cdn.digitaloceanspaces.com/Worlds/Gallery/Android/catalog.json
    8. 2021.05.27 09:25:30.992 20989 21011 Error Unity
    9. 2021.05.27 09:25:30.992 20989 21011 Error Unity System.Action`2:Invoke(T1, T2)
    10. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    11. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    12. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceProviders.InternalOp:CompleteOperation(String, Exception)
    13. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceProviders.InternalOp:RequestOperation_completed(AsyncOperation)
    14. 2021.05.27 09:25:30.992 20989 21011 Error Unity System.Action`1:Invoke(T)
    15. 2021.05.27 09:25:30.992 20989 21011 Error Unity UnityEngine.AsyncOperation:InvokeCompletionEvent()
    16. 2021.05.27 09:25:30.992 20989 21011 Error Unity
    17. 2021.05.27 09:25:30.999 20989 21011 Error Unity System.Exception: Unable to load ContentCatalogData  from location https://travrsal-alpha.sfo2.cdn.digitaloceanspaces.com/Worlds/Gallery/Android/catalog.json.
    18. 2021.05.27 09:25:30.999 20989 21011 Error Unity System.Action`2:Invoke(T1, T2)
    19. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    20. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    21. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.AddressableAssets.ResourceProviders.InternalOp:CatalogLoadOpCompleteCallback(AsyncOperationHandle`1)
    22. 2021.05.27 09:25:30.999 20989 21011 Error Unity System.Action`1:Invoke(T)
    23. 2021.05.27 09:25:30.999 20989 21011 Error Unity DelegateList`1:Invoke(T)
    24. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
    25. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
    26. 2021.05.27 09:25:30.999 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:Update(Single)
    27. 2021.05.27 09:25:30.999 20989 21011 Error Unity System.Action`1:Invoke(T)
    28. 2021.05.27 09:25:30.999 20989 21011 Error Unity
    29. 2021.05.27 09:25:31.000 20989 21011 Error Unity System.Exception: Failed to load content catalog.
    30. 2021.05.27 09:25:31.000 20989 21011 Error Unity System.Action`2:Invoke(T1, T2)
    31. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    32. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    33. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute()
    34. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Start(ResourceManager, AsyncOperationHandle, DelegateList`1)
    35. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:StartOperation(AsyncOperationBase`1, AsyncOperationHandle)
    36. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:CreateCompletedOperationInternal(TObject, Boolean, Exception, Boolean)
    37. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:CreateCompletedOperation(TObject, String)
    38. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.AddressableAssets.Initialization.InitializationOperation:OnCatalogDataLoaded(AddressablesImpl, AsyncOperationHandle`1, String, IResourceLocation)
    39. 2021.05.27 09:25:31.000 20989 21011 Error Unity UnityEngine.AddressableAssets.Initializat
    40. 2021.05.27 09:25:31.001 20989 21011 Error Unity OperationException : ChainOperation failed because dependent operation failed
    41. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Exception: Failed to load content catalog.
    42. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`2:Invoke(T1, T2)
    43. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    44. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    45. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`1:Invoke(T)
    46. 2021.05.27 09:25:31.001 20989 21011 Error Unity DelegateList`1:Invoke(T)
    47. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
    48. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
    49. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:Update(Single)
    50. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`1:Invoke(T)
    51. 2021.05.27 09:25:31.001 20989 21011 Error Unity
    52. 2021.05.27 09:25:31.001 20989 21011 Error Unity OperationException : ChainOperation failed because dependent operation failed
    53. 2021.05.27 09:25:31.001 20989 21011 Error Unity OperationException : ChainOperation failed because dependent operation failed
    54. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Exception: Failed to load content catalog.
    55. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`2:Invoke(T1, T2)
    56. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
    57. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, Exception, Boolean)
    58. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`1:Invoke(T)
    59. 2021.05.27 09:25:31.001 20989 21011 Error Unity DelegateList`1:Invoke(T)
    60. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
    61. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
    62. 2021.05.27 09:25:31.001 20989 21011 Error Unity UnityEngine.ResourceManagement.ResourceManager:Update(Single)
    63. 2021.05.27 09:25:31.001 20989 21011 Error Unity System.Action`1:Invoke(T)
     
  2. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    527
    Reported also as 1339050