What happens to your project when you remove “Default Local Group Asset Settings.asset” object by mistake?
Because I removed it once and now my whole project is refusing to work with Addressable when it tries to download from website.
Addressables - initialization failed.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogWarningFormat(String, Object[])
UnityEngine.AddressableAssets.AddressablesImpl:LogWarningFormat(String, Object[]) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AddressablesImpl.cs:140)
UnityEngine.AddressableAssets.Addressables:LogWarningFormat(String, Object[]) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\Addressables.cs:160)
UnityEngine.AddressableAssets.Initialization.<>c__DisplayClass14_0:<LoadContentCatalogInternal>b__0(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\Initialization\InitializationOperation.cs:228)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\DelegateList.cs:69)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:314)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:UnityEngine.ResourceManagement.AsyncOperations.IAsyncOperation.InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:452)
UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:751)
UnityEngine.ResourceManagement.ResourceManager:Update(Single) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:778)
MonoBehaviourCallbackHooks:Update() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\MonoBehaviourCallbackHooks.cs:19)
(Filename: Library/PackageCache/com.unity.addressables@1.2.4/Runtime/AddressablesImpl.cs Line: 140)
Exception encountered in operation UnityEngine.AddressableAssets.Initialization.InitializationOperation, result='', status='Failed' - Chain<GameObject,IResourceLocator>: ChainOperation of Type: UnityEngine.GameObject failed because dependent operation failed
Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=ceef0942435cb6447801b53801b21a81
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogErrorFormat(String, Object[])
UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AddressablesImpl.cs:150)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:278)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(GameObject, Boolean, String) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:362)
UnityEngine.ResourceManagement.ChainOperation`2:OnWrappedCompleted(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\ChainOperation.cs:44)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\DelegateList.cs:69)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:314)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:UnityEngine.ResourceManagement.AsyncOperations.IAsyncOperation.InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:452)
UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:751)
UnityEngine.ResourceManagement.ResourceManager:Update(Single) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:778)
MonoBehaviourCallbackHooks:Update() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\MonoBehaviourCallbackHooks.cs:19)
(Filename: Library/PackageCache/com.unity.addressables@1.2.4/Runtime/AddressablesImpl.cs Line: 150)
Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[UnityEngine.GameObject], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=ceef0942435cb6447801b53801b21a81
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogErrorFormat(String, Object[])
UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AddressablesImpl.cs:150)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:278)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(GameObject, Boolean, String) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:362)
UnityEngine.ResourceManagement.CompletedOperation`1:Execute() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:414)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:394)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Start(ResourceManager, AsyncOperationHandle, DelegateList`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:388)
UnityEngine.ResourceManagement.ResourceManager:StartOperation(AsyncOperationBase`1, AsyncOperationHandle) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:390)
UnityEngine.ResourceManagement.ResourceManager:CreateCompletedOperation(GameObject, String) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:491)
UnityEngine.AddressableAssets.AddressablesImpl:InstantiateAsync(Object, InstantiationParameters, Boolean) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AddressablesImpl.cs:728)
UnityEngine.AddressableAssets.AddressablesImpl:InstantiateAsync(Object, Vector3, Quaternion, Transform, Boolean) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AddressablesImpl.cs:708)
UnityEngine.AddressableAssets.Addressables:InstantiateAsync(Object, Vector3, Quaternion, Transform, Boolean) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\Addressables.cs:697)
UnityEngine.AddressableAssets.AssetReference:InstantiateAsync(Vector3, Quaternion, Transform) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\AssetReference.cs:315)
AddressableLoader:SpawnAssetFromLoadedReference(AssetReference) (at Assets\Scripts\AddressableLoader.cs:94)
<>c__DisplayClass8_0:<LoadAndSpawn>b__0(AsyncOperationHandle`1) (at Assets\Scripts\AddressableLoader.cs:74)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\DelegateList.cs:69)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:314)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:UnityEngine.ResourceManagement.AsyncOperations.IAsyncOperation.InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:452)
UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:751)
UnityEngine.ResourceManagement.ResourceManager:Update(Single) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:778)
MonoBehaviourCallbackHooks:Update() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\MonoBehaviourCallbackHooks.cs:19)
(Filename: Library/PackageCache/com.unity.addressables@1.2.4/Runtime/AddressablesImpl.cs Line: 150)
NullReferenceException: Object reference not set to an instance of an object
at AddressableLoader+<>c__DisplayClass10_0.<SpawnAssetFromLoadedReference>b__0 (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject] asyncOperationHandle) [0x0005f] in C:\Users\Andrew Decker\Desktop\Unity-Addressables-Level-2-master\Assets\Scripts\AddressableLoader.cs:102
at DelegateList`1[T].Invoke (T res) [0x00038] in C:\Users\Andrew Decker\Desktop\Unity-Addressables-Level-2-master\Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\DelegateList.cs:69
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
DelegateList`1:Invoke(AsyncOperationHandle`1) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\DelegateList.cs:73)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:314)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:UnityEngine.ResourceManagement.AsyncOperations.IAsyncOperation.InvokeCompletionEvent() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\AsyncOperations\AsyncOperationBase.cs:452)
UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:751)
UnityEngine.ResourceManagement.ResourceManager:Update(Single) (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\ResourceManager.cs:778)
MonoBehaviourCallbackHooks:Update() (at Library\PackageCache\com.unity.addressables@1.2.4\Runtime\ResourceManager\Util\MonoBehaviourCallbackHooks.cs:19)
(Filename: Assets/Scripts/AddressableLoader.cs Line: 102)
I tried followings but none of them helped so far:
- Uninstall Addressables, remove Addressables Asset Settings folder, Re-install Addressables packages, build, upload and test.
- Uncheck Addressables on prefab, remove reference to it from dropdown menu in object that’s using it, re-register Addressable on prefab, build , upload and test.
- Remove prefab, create new one, register it as Addressables and make sure it’s correctly referenced in the object that’s calling this, build, upload and test.
- Create new scene, create new prefabs and object, register as Addressables, build , upload and test.
- Create new project, do #4.
Can anyone with relevant experience enlighten me how to solve this issue?
Unity version is 2019.2.15f1 and addressable version is 1.2.4. Tried to use latest addressables, too (which is 1.5), but that produces different kind of errors as well so wasn’t really helpful.