Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Catch unreachable host exception?

Discussion in 'Addressables' started by dnnkeeper, Sep 25, 2019.

  1. dnnkeeper

    dnnkeeper

    Joined:
    Jul 7, 2013
    Posts:
    74
    I'm trying to handle condition where mobile (android) user connected to a limited wifi network tries to access an external host and can not download any content due to external address being unreachable. LoadAssetAsync just hangs without throwing exceptions, or triggering callbacks, so I can not handle this properly and users are geting confused even if their devices already contains cached assets! When user disables connectivity (airplane mode) cached assets loads properly but I'd like this to happen automatically after timeout.
    I tried setting BundledAssetGroupSchema Timeout and RetryCount properties but nothing changed.
     
unityunity