We are using Unity Content Delivery to host asset bundles for our game. We’ve recently discovered that we’re getting a relatively large number of download errors.
We can’t reproduce the problem, but we know it’s occurring based on our game analytics.
“Cannot connect to destination host” - mostly iOS - about 650 per day
“Unable to complete SSL connection” - mostly Android, though we did see some cases on iOS - about 600 per day
“Cannot resolve destination host” - mostly Android, about 300 per day
I am not sure if the problem is with the Unity Content Delivery service, Unity, or if there are some platform-specific build settings I can adjust to fix these errors, so I wasn’t sure where to post this question, but I figured this was a reasonable place to start.
I load the url with the following code snippet:
downloadUrl = $"https://{HaikuBuildSettings.unityContentProjectId}.client-api.unity3dusercontent.com/client_api/v1/buckets/{_bucketID}/releases/{_version.releaseId}/entry_by_path/content/?path={_bundleName}";
_webRequest = UnityWebRequestAssetBundle.GetAssetBundle(downloadUrl, _cacheInfo, 0);
_webRequest.SendWebRequest();
Does anyone have any suggestions for things to try to resolve these errors? I’ve googled a bit and most of the solutions I found involved making modifications to the server, which obviously I can’t do since I’m using the UCD service.