Addressables 1.21.21 - Download gets stuck randomly

We have an issue with remote Addressables on Android using DownloadDependenciesAsync. 98% of the time everything works fine, but occassionaly the download gets stuck at different points of progress. We don’t see any error, just that the progress does not continue to increase anymore. In most cases a restart of the application seems to resolve it (the remaining MB are downloaded).

Overall the download is about 750MB split in 12 groups marked with a “LoadAtStartup” label. MaxConcurrentWebRequests is set to 3 in the AddressableAssetSettings, Bundle mode is set to “Pack Together”.

The problem sounds similar to this one (but didn’t resolve by anything suggested in the discussion):

This is the code we use:

 var locations = await Addressables.LoadResourceLocationsAsync(LoadAtStartLabel).Task;
 var downloadHandle = Addressables.DownloadDependenciesAsync(locations);
            
 while (downloadHandle.Status == AsyncOperationStatus.None)
 {
    Progress = downloadHandle.GetDownloadStatus();
    await Task.Delay(500);
 }
            
 Addressables.Release(downloadHandle);

What we already tried:

  • Update to Addressables 1.22.3
  • Reproduce on different devices
  • Check our CDN for anything suspicious
  • Check if device has enough space and RAM
  • Retry mechanism after some time without progress (stuck again immediately, and there seems to be no way to cancel the first download)

Thx for any suggestion what the problem could be:)