Addressables is killing me

Using 1.1.9 I'm almost giving up on this. I just cannot get a stable consistent build to run on Android.
Latest problem:

  1. Install on Android via Adb
  2. Immediate crash on boot
  3. Install again via Adb
  4. Application loads!

Start game:

  1. CRC and load errors:
Error while downloading Asset Bundle: CRC Mismatch. Provided 9de469a8, calculated 2e29d844 from data. Will not load AssetBundle 'jar:file:///data/app/com.mygame-LzGbEOVhHBJFnfrTkDkvfQ==/base.apk!/assets/aa/Android/Android/duplicateassetisolation1_assets_all_61e6ad5501c1c0fc5648c9226e5a3690.bundle'

08-23 20:33:17.311 25865 25892 E Unity   : Error while downloading Asset Bundle: CRC Mismatch. Provided af14a9c1, calculated 87567e11 from data. Will not load AssetBundle 'jar:file:///data/app/com.mygame-LzGbEOVhHBJFnfrTkDkvfQ==/base.apk!/assets/aa/Android/Android/defaultlocalgroup_unitybuiltinshaders_753ffaed6d8970806e0ac4d56467fd09.bundle'
08-23 20:33:17.336 25865 25880 E Unity   : Exception encountered in operation Resource<IAssetBundleResource>(defaultlocalgroup_unitybuiltinshaders_753ffaed6d8970806e0ac4d56467fd09.bundle): RemoteAssetBundleProvider unable to load from url jar:file:///data/app/com.mygame-LzGbEOVhHBJFnfrTkDkvfQ==/base.apk!/assets/aa/Android/Android/defaultlocalgroup_unitybuiltinshaders_753ffaed6d8970806e0ac4d56467fd09.bundle, result='Received no data in response'.
08-23 20:33:17.336 25865 25880 E Unity   : UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
08-23 20:33:17.336 25865 25880 E Unity   : System.Action`2:Invoke(T1, T2)
08-23 20:33:17.336 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
08-23 20:33:17.336 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.336 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceProviders.AssetBundleResource:WebRequestOperationCompleted(AsyncOperation)
08-23 20:33:17.336 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.336 25865 25880 E Unity   : UnityEngine.AsyncOperation:InvokeCompletionEvent()
08-23 20:33:17.336 25865 25880 E Unity   :
08-23 20:33:17.336 25865 25880 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
08-23 20:33:17.336 25865 25880 E Unity   :
08-23 20:33:17.341 25865 25880 E Unity   : Exception encountered in operation Resource<IAssetBundleResource>(duplicateassetisolation1_assets_all_61e6ad5501c1c0fc5648c9226e5a3690.bundle): RemoteAssetBundleProvider unable to load from url jar:file:///data/app/com.mygame-LzGbEOVhHBJFnfrTkDkvfQ==/base.apk!/assets/aa/Android/Android/duplicateassetisolation1_assets_all_61e6ad5501c1c0fc5648c9226e5a3690.bundle, result='Request aborted'.
08-23 20:33:17.341 25865 25880 E Unity   : UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
08-23 20:33:17.341 25865 25880 E Unity   : System.Action`2:Invoke(T1, T2)
08-23 20:33:17.341 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
08-23 20:33:17.341 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.341 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceProviders.AssetBundleResource:WebRequestOperationCompleted(AsyncOperation)
08-23 20:33:17.341 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.341 25865 25880 E Unity   : UnityEngine.AsyncOperation:InvokeCompletionEvent()
08-23 20:33:17.341 25865 25880 E Unity   :
08-23 20:33:17.341 25865 25880 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
08-23 20:33:17.341 25865 25880 E Unity   :
08-23 20:33:17.564 25865 25880 E Unity   : Exception encountered in operation Dependencies: RemoteAssetBundleProvider unable to load from url jar:file:///data/app/com.mygame-LzGbEOVhHBJFnfrTkDkvfQ==/base.apk!/assets/aa/Android/Android/duplicateassetisolation1_assets_all_61e6ad5501c1c0fc5648c9226e5a3690.bundle, result='Request aborted'.
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
08-23 20:33:17.564 25865 25880 E Unity   : System.Action`2:Invoke(T1, T2)
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.GroupOperation:CompleteIfDependenciesComplete()
08-23 20:33:17.564 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.564 25865 25880 E Unity   : DelegateList`1:Invoke(T)
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.564 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourcePro
08-23 20:33:17.572 25865 25880 E Unity   : Exception encountered in operation Resource<GameObject>(PlayerGraphic Octohedron.prefab): Dependency Exception
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
08-23 20:33:17.572 25865 25880 E Unity   : System.Action`2:Invoke(T1, T2)
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute()
08-23 20:33:17.572 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.572 25865 25880 E Unity   : DelegateList`1:Invoke(T)
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
08-23 20:33:17.572 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceManager:Update(Single)
08-23 20:33:17.572 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.572 25865 25880 E Unity   :
08-23 20:33:17.572 25865 25880 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
08-23 20:33:17.572 25865 25880 E Unity   :
08-23 20:33:17.579 25865 25880 E Unity   : Exception encountered in operation Instance<InstanceProvider>(Resource<GameObject>(PlayerGraphic Octohedron.prefab): Dependency operation failed with System.Exception: Dependency Exception.
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
08-23 20:33:17.579 25865 25880 E Unity   : System.Action`2:Invoke(T1, T2)
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute()
08-23 20:33:17.579 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.579 25865 25880 E Unity   : DelegateList`1:Invoke(T)
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
08-23 20:33:17.579 25865 25880 E Unity   : UnityEngine.ResourceManagement.ResourceManager:Update(Single)
08-23 20:33:17.579 25865 25880 E Unity   : System.Action`1:Invoke(T)
08-23 20:33:17.579 25865 25880 E Unity   :
08-23 20:33:17.579 25865 25880 E Unity   : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
08-23 20:33:17.579 25865 25880 E Unity   :
08-23 20:33:17.911 25865 25880 E Unity   : Unable to load Player
08-23 20:33:17.911 25865 25880 E Unity   : MyGame.Game:.ctor()
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ContextCallback:Invoke(Object)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
08-23 20:33:17.911 25865 25880 E Unity   : System.Runtime.CompilerServices.MoveNextRunner:Run()
08-23 20:33:17.911 25865 25880 E Unity   : System.Action:Invoke()
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ContextCallback:Invoke(Object)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.Tasks.Task:FinishContinuations()
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.Tasks.Task`1:TrySetResult(TResult)
08-23 20:33:17.911 25865 25880 E Unity   : System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:Create()
08-23 20:33:17.911 25865 25880 E Unity   : MyGame.PlayerGraphic:Shatter()
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ContextCallback:Invoke(Object)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
08-23 20:33:17.911 25865 25880 E Unity   : System.Runtime.CompilerServices.MoveNextRunner:Run()
08-23 20:33:17.911 25865 25880 E Unity   : System.Action:Invoke()
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.ContextCallback:Invoke(Object)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
08-23 20:33:17.911 25865 25880 E Unity   : System.Threading.Tasks.Task:FinishContinuations()
08-23 20:33:17.911 25865 25880 E Unity   : System.Thr
  1. Close Game
  2. Open game again, no errors.

Why? Why do I need to open my game twice in order for it to work?
What is a CRC mismatch? How do I fix that? Why is it happening?

Getting really frustrated with all this. :(
I don't feel like I'm doing anything complicated.
I have some addressable assets and some non addressable scenes. Yet every day it's something new, some bug/error that I have no idea how to fix

Guess I'll have to just slog though this one like every other issue

6 Likes

Oh and the documentation is 404 as well:
https://docs.unity3d.com/Packages/com.unity.addressables@1.1/manual/index.html

latest working version is 0.8:
https://docs.unity3d.com/Packages/com.unity.addressables@0.8/manual/index.html

what a mess

This is what I get after installing:

01/01 00:00:00.000 -1 -1 Info : --------- beginning of main
01/01 00:00:00.000 -1 -1 Info : --------- beginning of system
01/01 00:00:00.000 -1 -1 Info : 08-23 21:36:00.090 29823 29839 D         : PlayerBase::PlayerBase()
01/01 00:00:00.000 -1 -1 Info : 08-23 21:36:00.090 29823 29839 D         : TrackPlayerBase::TrackPlayerBase()
01/01 00:00:00.000 -1 -1 Info : 08-23 21:36:00.098   805 10041 D         : Failed to fetch the lookup information of the device 00000200
01/01 00:00:00.000 -1 -1 Info : 08-23 21:36:00.134   805 10041 D         : Failed to fetch the lookup information of the device 00000201
01/01 00:00:00.000 -1 -1 Info : 08-23 21:42:25.661 29823 29839 D         : PlayerBase::stop() from IPlayer
01/01 00:00:00.000 -1 -1 Info : 08-23 21:42:59.587   890  6565 E         : Couldn't opendir /data/app/vmdl1117603012.tmp: No such file or directory
01/01 00:00:00.000 -1 -1 Info : 08-23 21:43:11.327   890 25896 E         : Couldn't opendir /data/app/vmdl1215336473.tmp: No such file or directory
01/01 00:00:00.000 -1 -1 Info : 08-23 21:43:13.937 30158 30174 D         : PlayerBase::PlayerBase()
01/01 00:00:00.000 -1 -1 Info : 08-23 21:43:13.937 30158 30174 D         : TrackPlayerBase::TrackPlayerBase()
01/01 00:00:00.000 -1 -1 Info : 08-23 21:43:13.946   805 10041 D         : Failed to fetch the lookup information of the device 00000200
01/01 00:00:00.000 -1 -1 Info : 08-23 21:43:13.981   805 10041 D         : Failed to fetch the lookup information of the device 00000201
01/01 00:00:00.000 -1 -1 Info : 08-23 21:44:28.177 30158 30174 D         : PlayerBase::stop() from IPlayer
01/01 00:00:00.000 -1 -1 Info : 08-23 21:46:40.258   890 25896 E         : Couldn't opendir /data/app/vmdl420718849.tmp: No such file or directory

On the second install, no such error

Thanks for letting us know. This does sound frustrating and I'm sorry you're hitting this. We've heard of issues where the game fails to load on first launch, then works fine, but have been unable to reproduce that ourselves. If you could file a bug against unity with your repro project that would be huge in helping us solve this.

In addition, could you try building/running on your standalone platform (windows or mac)? We've heard the issue is there as well, but it would be helpful to know if you're only seeing this on android.

I will add, that your logs are helpful. So if you cannot give us a repro project, we'll see what we can come up with based on the logs. But a repro project would be most useful.

Yep, I'm trying to get one created. If I can't repro in an empty project, I'll submit my actual project

1 Like

We have the same issue on Android devices.

There is no CRC exception but it also throws an Exception with
"RemoteAssetBundleProvider unable to load from url jar"
with either "Request aborted" or "Received no data in response" as the result.

We use verison 1.2.4 and local bundles in StreamingAssets.

It appears randomly on different devices and its unfortunately not reproducible.

Are there any news about how to solve this?

Thanks for your help!

4 Likes

I'm having the same issue only on Android devices too. No CRC exception because i'm only using local bundles. addressables version 1.2.4

And in my case, i don't have to reboot my app for it to work. Just loading it for the second time already worked fine without app restart. In fact, either restarting the app or reinstalling didn't fix the error. Doing a clean install seemed to fix it though.

It happens on each bundle file. It has to be loaded once with an error, and then loading it for the second time worked fine

Happens randomly after a build and can't reproduce it.

Guys, can you try to select your addressables group and on the properties there's a retry/attemps field can you set it to 3 or more and then build bundles and check again?

1 Like

@hanniiel it seemed to resolved the problem, so far no errors anymore. I'll let you know if the error happens again. Thanks

1 Like

This still occurs on latest version. Fix your stuff, Unity.

1 Like

Reproduced this issue with
Unity 2019.3.15f1
Addressables 1.10.0

Have been trying to install apk from fresh on 3 different phones (Galaxy S4, Galaxy S7, Galaxy S7 Edge) and only the S7 had this issue twice.

Android Logcat

[spoiler]

2020/06/29 15:14:51.626 29616 29680 Error Unity Exception encountered in operation Resource<IAssetBundleResource>(scenes_scenes_splash_24c423ed76ea06e9a1b38c7319db85e5.bundle): RemoteAssetBundleProvider unable to load from url jar:file:///data/app/PACKAGENAME-BtJJ8S0Eja25XNr2ScKBLw==/base.apk!/assets/aa/Android/scenes_scenes_splash_24c423ed76ea06e9a1b38c7319db85e5.bundle, result='Request aborted'.
2020/06/29 15:14:51.626 29616 29680 Error Unity UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
2020/06/29 15:14:51.626 29616 29680 Error Unity System.Action`2:Invoke(T1, T2)
2020/06/29 15:14:51.626 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
2020/06/29 15:14:51.626 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
2020/06/29 15:14:51.626 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceProviders.AssetBundleResource:WebRequestOperationCompleted(AsyncOperation)
2020/06/29 15:14:51.626 29616 29680 Error Unity System.Action`1:Invoke(T)
2020/06/29 15:14:51.626 29616 29680 Error Unity UnityEngine.AsyncOperation:InvokeCompletionEvent()
2020/06/29 15:14:51.626 29616 29680 Error Unity
2020/06/29 15:14:51.626 29616 29680 Error Unity (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
2020/06/29 15:14:51.626 29616 29680 Error Unity
2020/06/29 15:14:51.711 29616 29680 Error Unity Exception encountered in operation Dependencies: RemoteAssetBundleProvider unable to load from url jar:file:///data/app/PACKAGENAME-BtJJ8S0Eja25XNr2ScKBLw==/base.apk!/assets/aa/Android/scenes_scenes_splash_24c423ed76ea06e9a1b38c7319db85e5.bundle, result='Request aborted'.
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.AddressableAssets.AddressablesImpl:LogException(AsyncOperationHandle, Exception)
2020/06/29 15:14:51.711 29616 29680 Error Unity System.Action`2:Invoke(T1, T2)
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:set_OperationException(Exception)
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.GroupOperation:CompleteIfDependenciesComplete()
2020/06/29 15:14:51.711 29616 29680 Error Unity System.Action`1:Invoke(T)
2020/06/29 15:14:51.711 29616 29680 Error Unity DelegateList`1:Invoke(T)
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:Complete(TObject, Boolean, String)
2020/06/29 15:14:51.711 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceProviders.AssetBundleResource:WebRequest
2020/06/29 15:14:51.747 29616 29680 Error Unity Scene 'Assets/_Project/Scenes/Splash.unity' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
2020/06/29 15:14:51.747 29616 29680 Error Unity To add a scene to the build settings use the menu File->Build Settings...
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.SceneManagement.SceneManager:LoadSceneAsync(String, LoadSceneParameters)
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceProviders.SceneOp:InternalLoadScene(IResourceLocation, Boolean, LoadSceneMode, Boolean, Int32)
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceProviders.SceneOp:Execute()
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeExecute()
2020/06/29 15:14:51.747 29616 29680 Error Unity System.Action`1:Invoke(T)
2020/06/29 15:14:51.747 29616 29680 Error Unity DelegateList`1:Invoke(T)
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1:InvokeCompletionEvent()
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceManager:ExecuteDeferredCallbacks()
2020/06/29 15:14:51.747 29616 29680 Error Unity UnityEngine.ResourceManagement.ResourceManager:Update(Single)
2020/06/29 15:14:51.747 29616 29680 Error Unity System.Action`1:Invoke(T)
2020/06/29 15:14:51.747 29616 29680 Error Unity
2020/06/29 15:14:51.747 29616 29680 Error Unity [ line 167]
2020/06/29 15:14:51.747 29616 29680 Error Unity (Filename:  Line: 167)
2020/06/29 15:14:51.747 29616 29680 Error Unity
2020/06/29 15:14:51.756 29616 29680 Error Unity NullReferenceException: Object reference not set to an instance of an object.
2020/06/29 15:14:51.756 29616 29680 Error Unity   at UnityEngine.ResourceManagement.ResourceProviders.SceneProvider+SceneOp.InternalLoadScene (UnityEngine.ResourceManagement.ResourceLocations.IResourceLocation location, System.Boolean loadingFromBundle, UnityEngine.SceneManagement.LoadSceneMode loadMode, System.Boolean activateOnLoad, System.Int32 priority) [0x00000] in <00000000000000000000000000000000>:0
2020/06/29 15:14:51.756 29616 29680 Error Unity   at UnityEngine.ResourceManagement.ResourceProviders.SceneProvider+SceneOp.Execute () [0x00000] in <00000000000000000000000000000000>:0
2020/06/29 15:14:51.756 29616 29680 Error Unity   at UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].InvokeExecute () [0x00000] in <00000000000000000000000000000000>:0
2020/06/29 15:14:51.756 29616 29680 Error Unity   at System.Action`1[T].Invoke (T obj) [0x00000] in <00000000000000000000000000000000>:0
2020/06/29 15:14:51.756 29616 29680 Error Unity   at DelegateList`1[T].Invoke (T res) [0x00000] in <00000000000000000000000000000000>:0
2020/06/29 15:14:51.756 29616 29680 Error Unity   at UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].InvokeCompletionEvent () [0x00000

[/spoiler]

I will try to change "Retry count" from 0 to 3 on all addressable groups now.

** Works, for now, settings Retry count to 3 **

Hi, just letting you guys know - we had this happen on our project. One developer could build, I got this error - even in unity when loading from remote folder (which is how you reproduce it in the editor, you can't reproduce if you load from local files)

Basically the file Library/com.unity.addressables/aa/Android/Android/defaultlocalgroup_unitybuiltinshaders_HASH.bundle had the same name, but when I copied the content from the developer who could build I finally got it working.

Somehow the files changed and got corrupt (I assume during some unity version upgrade or whatever)

What we did to avoid this in the future was to add these files to the GIT while still ignoring the rest of the "Library" directory, but not "Library/com.unity.addressables"

add this to your .gitignore to do that:

!/Library/
/Library/*
!/Library/com.unity.addressables/

By adding this infernal files to the git repo, you will be able to detect when unity messes them up and revert or at least sync with all your team members

Q: Is this your issue?
A: Are you working with other developers? Did you upgrade/downgrade Unity? Is it possible the file got corrupt somehow in another way? If so, very likely.

In anycase, over here we believe including the Library/com.unity.addressables folder in git is a VERY good idea regardless of this issue.

And yes, addressables is far from stable. There are so many issues with this system that it deeply saddens me that Unity Technologies chose to "hint" that AssetBundles, the stable former solution is about to deprecate.

FYI another issue we have is that updating addressables from a different computers is impossible without updating the app.

I found at least one of the bugs is dependency on the folder name of the project. If it differs then the shader hash differs.
There are other issues that affect the hashes of the bundles on different computers. We are still investigating this in our team.

9 Likes