Addressables not working in builds

Hey guys,
I updated the package to 1.7.4 / 1.8.3 and suddenly the loading of addressable assets does not work anymore.
It works fine in the editor with all modes, even with packed bundles.

On Android and iOS they dont show up anymore and there are no exceptions or warnings.
I tested it with an empty project and it worked. So it has to be a setting or something similiar I guess.

Did anyone else encounter this issue?
(Unity 2019.3.13f1)

1 Like

Hello, I just setup our project for ios (also on 19.3.13f1) with 1.8.3.
I think I had to clean my build cache and then try build again to see build errors/asset errors. After fixing them (some assets referenced dx1 textures/ the builtin checker texture) it worked on ios

1 Like

Hey marwi,
I first deleted the BuildCache directory…and nothing changed.
But deleting the whole library folder fixed it.
I do not know why I did not try this yet as its the usual fix for stuff like this xD

Thanks a lot!

I guess I found the source of the issue.
After deleting the library folder the build worked. But the next build was broken again.

Than I removed the CacheInitializationSettings from the Addressable Settings because there was a bug mentioned by a Unity guy.

Now I get the following exception for each loaded asset:

Exception encountered in operation Resource<Sprite>(FILE_NAME.png): Unable to load dependent bundle from location Assets/BUNDLE_PATH/FILE_NAME.png

Any ideas? :frowning:

I assume you cleaned/built the addressables content?

Hello not sure if the error is the same but I just got some issues on another pc where I had missing addresses in the groups (because I did indeed delete the assets): after deleting them in the group settings I could load again. For some reason the project /addressables run perfectly fine without those assets on my pc

Yeah, I clean and build them with every new build.
I even clean them manually from time to time because of broken Assets…

I did not delete any Groups, Assets or anything. I just updated the package and deleted the lib folder.