Can't get Addressables to work at all, need help

I’ve been at this for hours since the past few days but I don’t understand why this isn’t working at all. Started working on a project a week ago, which just has 1 scene set up with some models and a script. I’ve made this scene an addressable and added it to the default profile. All the settings are default except for “Build Remote Catalog” being checked.

When LocalBuildPath/LocalLoadPath is selected, it works fine. But it never works with remote. I’ve tried running the hosting service, but adding it to the RemoteLoadPath gives a 404 error, specifically:

RemoteProviderException : Unable to load asset bundle from : http://localhost:59015/StandaloneWindows/defaultlocalgroup_scenes_all_7601de4b8d5cfa383aeb91d368a0a43e.bundle
UnityWebRequest result : ProtocolError : HTTP/1.1 404 Not Found
ResponseCode : 404, Method : GET
url : http://localhost:59015/StandaloneWindows/defaultlocalgroup_scenes_all_7601de4b8d5cfa383aeb91d368a0a43e.bundle

I load it like so:

IEnumerator LoadScene(AssetReference level)
    {
        var downloadOperation = Addressables.DownloadDependenciesAsync(level);

        while (!downloadOperation.IsDone)
        {
            _loadingText.text = "Downloading: " + downloadOperation.PercentComplete.ToString();
            yield return null;
        }

        if (downloadOperation.Status == UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationStatus.Failed)
            yield break;

        var loadOperation = Addressables.LoadSceneAsync(level);

        while (!loadOperation.IsDone)
        {
            _loadingText.text = "Loading: " + loadOperation.PercentComplete.ToString();
            yield return null;
        }
    }

I’d appreciate some help

I’ll forward this to the team for some guidance. Which version of Addressables are you using?

1 Like

Did this ever get resolved? We’re having the same problem. We’ve changed nothing at our end and all of a sudden the asset bundles aren’t being downloaded for new users.

@unity_0fLA2VGTKiXOCw Hi it seems like you’re trying to use the Editor Hosting feature. For that you’ll need to change the RemoteLoadPath to use a different ip address instead of localhost (for example http://[PrivateIpAddress]:[HostingServicePort]).

https://docs.unity3d.com/Packages/com.unity.addressables@1.19/manual/AddressableAssetsHostingServices.html#hosting-service-profile-setup

@nebeohutibonek
Are you using Editor Hosting as well, or are you hosting your bundles elsewhere?