Hi, I’m running into some errors attempting to test a local hosting set up using Addressables Hosting following the documentation outlined here Asset Hosting Services | Addressables | 1.5.1
I get the following errors:
192.168.1.96 - - [2020-01-14T14:29:50.3982235-08:00] "" 404 -
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()
Exception encountered in operation Resource<Object>(catalog_2020.01.14.22.12.04.hash): Unknown error in AsyncOperation
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at C:/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)
Exception encountered in operation Dependencies: Unknown error in AsyncOperation
UnityEngine.ResourceManagement.AsyncOperations.GroupOperation:OnOperationCompleted(AsyncOperationHandle)
DelegateList`1:Invoke(AsyncOperationHandle) (at Library/PackageCache/com.unity.addressables@1.3.8/Runtime/ResourceManager/Util/DelegateList.cs:69)
UnityEngine.ResourceManagement.ResourceManager:Update(Single)
MonoBehaviourCallbackHooks:Update() (at Library/PackageCache/com.unity.addressables@1.3.8/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:19)
I’m using the Sprite Land example as a basis for this test. (GitHub - Unity-Technologies/Addressables-Sample: Demo project using Addressables package) and I’ve tried this in Addressables 1.3.8 and 1.5.0.
-
I’ve set up a Local Hosting service and enabled it.
-
I’ve set up a new Addressables Profile with the following settings
-
BuildTarget:
[UnityEditor.EditorUserBuildSettings.activeBuildTarget]
-
LocalBuildPath:
HostedData/[BuildTarget]
-
LocalLoadPath:
http://[PrivateIpAddress]:[HostingServicePort]/[BuildTarget]
-
RemoteBuildPath:
HostedData/[BuildTarget]
-
RemoteLoadPath:
http://[PrivateIpAddress]:[HostingServicePort]/[BuildTarget]
-
In my Addressables Groups window I’ve changed the Play Mode Script to “Use Existing Build”.
-
I have built the bundle.
-
In the AddressableAssetSettings “Build Remote Catalog” is enabled and paths selected.
Running Play in the editor results in these errors. On a build it locks up on these errors. I’m just not sure what I’m doing wrong. Any help would be appreciated.