UPDATE: I gave up on using Addressable to download data. There are better alternatives, see My Addressables bug-reports and questions collection - Community Showcases - Unity Discussions
I recently started to implement a “data download” feature. The idea is simple:
- Game asks remote server if updated content is available
- Game downloads updated content
- Game shuts down its systems, re-initializes and starts using the updated content
I’m already failing at point 1 and 2, due to what I believe are issues with Addressables. I also created forum threads for my submitted bug-reports, hoping to put some attention to these issues, because an actual game-release depends on this for me. I need these issues to be fixed like yesterday.
I created this thread for me to keep an overview of all these issues, as well as questions that occurred while implementing it, and I hope that @TreyK-47 can ask QA to look at the “waiting” reports and ask in the Addressables team to look into the confirmed issues.
The issues highlighted in red color are the ones that are very important to me.
Waiting (QA did not respond yet)
(Case 1355053) Addressables.DownloadDependenciesAsync keeps downloading data when storage device has no sufficient free space
[WORKAROUND: Use Request Timeout] (Case 1344710) Addressables method calls never complete on Android if hosting service is unreachable
(Case 1346824) Addressables.DownloadDependenciesAsync PercentComplete seems wrong
(Case 1343032) Updating Localization through Addressables causes System.Exception
Bugs without report
ResourceProviders.TextDataProvider+InternalOp.Start causes IndexOutOfRangeException
Open questions
ReadObjectFromByteArray sometimes causes ArgumentOutOfRangeException
https://forum.unity.com/threads/readobjectfrombytearray-sometimes-causes-argumentoutofrangeexception.1249882/
UnauthorizedAccessException: Access to the path “catalog_data1.hash” is denied.
Do I have to release failed load operations?
Local bundle can’t be opened on iOS
InvalidKeyException: Exception of type
(Important) Remote catalog bundle hash sometimes different than generated bundle hash
(Important) RemoteProviderException: TextDataProvider : unable to load “assets/aa/settings.json”
How to abort DownloadDependenciesAsync?
Seeking for more info on “Non-recursive Dependency Calculation”?
Active (confirmed issues by QA)
(Case 1370072) Bake NavMesh/Occlusion deletes Addressable AssetGroup entries
- (Case 1370072) Bake NavMesh/Occlusion deletes Addressable AssetGroup entries
- Unity Issue Tracker - NavMesh/Occlusion deletes Addressable AssetGroup NavMesh when baking NavMesh
(Case 1361433) “Other > Objects” leaking memory
- What is 'Objects' shown in Memory Profiler for iOS represented for?
- https://issuetracker.unity3d.com/issues/android-other-objects-memory-increases-after-tapping-on-the-screen
(Case 1358381) Addressables generates bundles that are not deterministic
- (Case 1358381) Addressables generates bundles that are not deterministic
- Unity Issue Tracker - Identical Asset bundles differ bitwise when building Addressable content
(Case 1343727) Corrupted cached catalog.json causes that no remote catalog can be downloaded anymore
- (Case 1343727) Corrupted cached catalog.json causes that no remote catalog can be downloaded anymore
- Unity Issue Tracker - [Addressables] Remote Catalog cannot be downloaded when cached catalog.json is corrupted
(Case 1341792) AsyncOperationStatus (eg CheckForCatalogUpdates) returns “Succeeded” for failed calls
- (Case 1341792) AsyncOperationStatus (eg CheckForCatalogUpdates) returns "Succeeded" for failed calls
- Unity Issue Tracker - Addressables AsyncOperationStatus returns "Succeeded" for failed calls
(Case 1358410) Unity sometimes creates new AssetGroups for Localization-String-Tables automatically
- (Case 1358410) Unity sometimes creates new AssetGroups for Localization-String-Tables automatically
- https://issuetracker.unity3d.com/issues/new-localization-assets-created-automatically-when-loading-project-without-library-folder
(Case 1370485) 2019.4: Addressbles 1.19.6 content build failure
- (Case 1370485) Addressables 1.19.6 content build failure (key was not present in the dictionary)
- Unity Issue Tracker - "Addressables content build failure" error thrown when building new AssetGroup
(Case 1357228) Addressables “Shader Bundle Naming Prefix” settings don’t seem to work
- (Case 1357228) Addressables "Shader Bundle Naming Prefix" settings don't seem to work
- Unity Issue Tracker - Custom Shader Bundle Naming Prefix is incorrect when building Addressable content
(Case 1357219) Addressables “Shader Bundle Naming Prefix” setting missing
- (Case 1357219) Addressables "Shader Bundle Naming Prefix" setting missing
- Unity Issue Tracker - Shader Bundle Naming Prefix tooltip is incorrect when hovering cursor over the setting
(Case 1356555) Addressables documentation: UseAssetBundleCache, UseAssetBundleCrc and UseAssetBundleCrcForCachedBundles all have the same description
(Case 1350513) Addressables.CheckForCatalogUpdates returns Success for invalid remote location
- Addressables.CheckForCatalogUpdates returns Succeeded for invalid remote location
- Unity Issue Tracker - Addressables AsyncOperationStatus returns "Succeeded" for failed calls
(Case 1344164) Addressables Groups window doesn’t support Undo/Redo
- https://forum.unity.com/threads/case-1344164-addressables-groups-window-doesnt-support-undo-redo.1128071/
- https://issuetracker.unity3d.com/issues/addressables-groups-and-hosting-windows-dont-support-undo-slash-redo
Fixed (marked as fixed in issue tracker)
[UNABLE TO REPRODUCE IN 1.19.6] (Case 1357637) ScriptableBuildPipeline does not abort when exception occurs
[UNABLE TO REPRODUCE IN 1.19.6] (Case 1357636) Random editor crash when building Addressables content (USerialize.DeSerializer.ReadObject)
[FIXED IN 1.19.6] (Case 1346825) Addressables.DownloadDependenciesAsync doesn’t detect error if internet drops
[FIXED IN 1.18.13] (Case 1342255) Addressables: Local Hosting “Enable” state resets after AssemblyReload
- (Case 1342255) Addressables: Local Hosting "Enable" state resets after AssemblyReload
- Unity Issue Tracker - [Addressables] Hosting "Enable" state resets after AssemblyReload
[FIXED IN 1.19.6] (Case 1357241) Addressables “MonoScript Bundle Naming Prefix” settings don’t seem to work
- (Case 1357241) Addressables "MonoScript Bundle Naming Prefix" settings don't seem to work
- Unity Issue Tracker - MonoScript Bundle is not built when MonoScript Bundle Naming Prefix is set to Disabled
- Unity Issue Tracker - Custom MonoScript Bundle Naming Prefix is incorrect when building Addressable content
[FIXED IN 1.19.6] (Case 1359537) Addressables causes Inspector to lose selected object on property changes
- (Case 1359537) Addressables causes Inspector to lose selected object on property changes
- Unity Issue Tracker - Inspector properties are hidden after changing Prefab when Addresables window is open
[FIXED IN 1.19.6] (Case 1357427) buildlayout.txt contains references to monoscripts bundle that doesn’t exist
- (Case 1357427) buildlayout.txt contains references to monoscripts bundle that doesn't exist
- Unity Issue Tracker - buildlayout.txt bundle name contains hash when Bundle Naming Mode is set to Filename
[FIXED IN 1.19.6] (Case 1355534) Addressables 1.18.15 Inspector performance regression
- https://discussions.unity.com/t/850914
- https://issuetracker.unity3d.com/issues/editor-performs-very-slow-when-selecting-a-large-addressable-asset-group
[FIXED IN 1.19.4] (Case 1351218) AsyncOperationHandle.WaitForCompletion calls ResourceManager.Update(Time.deltaTime)
- https://discussions.unity.com/t/848752
- https://issuetracker.unity3d.com/issues/waitforcompletion-passes-time-dot-deltatime-when-resourcemanager-dot-update-expects-a-parameter-by-name-unscaleddeltatime
[FIXED IN 1.18.15] (Case 1345708) Addressables Hosting window causes very high CPU usage
- https://discussions.unity.com/t/846109
- https://issuetracker.unity3d.com/issues/high-cpu-usage-when-the-hosting-window-is-open
[FIXED IN 1.18.11] (Case 1341756) Addressables 1.18.9 breaks content update functionality
- https://discussions.unity.com/t/843997
- https://issuetracker.unity3d.com/issues/uriformatexception-invalid-uri-error-when-loading-addressables-on-windows-build
[FIXED IN 1.18.11] (Case 1342246) Unable to cancel AssetGroup rename operation
- https://discussions.unity.com/t/844274
- https://issuetracker.unity3d.com/issues/renaming-addressables-group-and-pressing-esc-button-on-the-keyboard-doesnt-revert-the-changes-made-to-the-group-name
[FIXED IN 1.18.11] (Case 1341687) AddressableAssetSettings not persistent (“Strip Unity Version from AssetBundles”)
- https://discussions.unity.com/t/843965
- https://issuetracker.unity3d.com/issues/strip-unity-version-from-assetbundles-and-disable-visible-sub-asset-representations-settings-get-lost-after-reopening-a-project
[FIXED IN 1.18.12] (Case 1343073) Addressables doesn’t ignore excluded files/folders (. prefix or ~ suffix)
- https://discussions.unity.com/t/844766
- https://issuetracker.unity3d.com/issues/assets-with-prefix-or-suffix-dont-get-ignored-when-using-getdownloadsizeasync
By Design
(Case 1343820) Addressables doesn’t detect corrupted local cached files prior loading [HOW CAN THIS BE BY DESIGN?!]
https://discussions.unity.com/t/845111
(Case 1341439) Addressables.InitializeAsync returns invalid handle
https://discussions.unity.com/t/843842
(Case 1354409) “Strip Unity Version from AssetBundles” does not work
https://discussions.unity.com/t/850354
[Option was moved] (Case 1356869) Addressables “Group Hierarchy with Dashes” setting missing
https://discussions.unity.com/t/851572
[Regression they can’t change anymore] (Case 1365170) AddressableProfileSettings.GetValueByName() no longer returns value in 1.19.4
https://discussions.unity.com/t/855367
Missing functionality
(Important) [FOUND WORKAROUND] How to unload everything currently loaded by Addressables?
https://discussions.unity.com/t/843869
(Important) Another Bundle Mode “Double Pack Separately”
https://discussions.unity.com/t/836440/10
How to get download size of content update without updating the catalog first?
https://discussions.unity.com/t/850423
(Unity Cloud Content Delivery) Add --dryrun option to “ucd.exe releases create”
https://discussions.unity.com/t/853153
How to download data while Android/iOS app is minimized or put into background?
https://discussions.unity.com/t/852241
Open Questions, but not needed anymore
How to restart my own Android app through code?
https://discussions.unity.com/t/847752
Resolved Questions
How NOT decompress downloaded bundles?
https://discussions.unity.com/t/863917
What exactly is “Retry Count”?
https://forum.unity.com/threads/what-exactly-is-retry-count.1173908/
Any reason not to use “Cache Clear Behavior = Clear When When New Version Loaded”?
https://discussions.unity.com/t/852349
(Important) How to find the cause why an AssetBundle is being rebuilt?
https://discussions.unity.com/t/854021
(Addressables) Difference between “Bundle Dependencies” and “Expanded Bundle Dependencies” in buildlayout.txt?
https://discussions.unity.com/t/852147
(Addressables) Seeking for more info on “Force Unique Provider”?
https://discussions.unity.com/t/850203
(Unity Cloud Content Delivery) “ucd.exe releases create” outputs “Error! cannot create a release: x.bundle is incomplete”
https://discussions.unity.com/t/853128
(Unity Cloud Content Delivery) “1 bucket per platform” vs “1 bucket for all platforms” benefits and downsides?
https://discussions.unity.com/t/852225
(Unity Cloud Content Delivery) How to create a release with a badge via ucd.exe?
https://discussions.unity.com/t/848414
(Addressables) “Unable to open archive file” errors during Addressables.DownloadDependenciesAsync
https://discussions.unity.com/t/846709
(Unity Cloud Content Delivery) How to move a badge without y/n prompt via ucd.exe?
https://discussions.unity.com/t/848415
(Addressables) How to get the asset type where an Addressable Key points to?
https://discussions.unity.com/t/845145
(Addressables) What exactly does the addressables_content_state contain?
https://discussions.unity.com/t/800514
(Addressables) How to have the same bundles as local and remote?
https://discussions.unity.com/t/843007
(Addressables) Extremely slow download via Addressables.DownloadDependenciesAsync and Unity Cloud Content Delivery
https://discussions.unity.com/t/846582
(Addressables) Seeking for more info on “Unique Bundle IDs”
https://discussions.unity.com/t/843554/7
(Addressables) How to delete the cached catalog files?
https://discussions.unity.com/t/845290
(Addressables) Where stores Addressables the downloaded assets?
https://discussions.unity.com/t/843863/2
(Addressables) How to see if AssetBundle has dependencies to another AssetBundle?
https://discussions.unity.com/t/842654
(Addressables) Where is the Addressables hosting path coming from?
https://discussions.unity.com/t/843373
(Unity Cloud Content Delivery) “ucd.exe releases create” outputs “Error! invalid page”
https://discussions.unity.com/t/845901
(Addressables) “Max Concurrent Web Requests” Setting Best Practices for mobile?!
https://discussions.unity.com/t/846578
Localization Addressables AssetGroup questions
https://discussions.unity.com/t/844120
(Addressables) How to use different AssetGroup’s for Localization StringTables?
https://discussions.unity.com/t/848350
(Localization) How to shutdown/initialize the Localization system before/after content update?
https://discussions.unity.com/t/849143