Addressables & Play Asset Delivery: Downloaded Fast Follow bundles unavailable offline after initial session

Open
#98 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, csharp, unity

Research direction

Start by reproducing the Android build with Unity 6000.0.43f1, Addressables 2.3.16, and Addressables for Android 1.0.6. Compare AndroidAssetPackStatus.Completed during the initial online session with the AndroidAssetPackState result after relaunching offline. Done when the previously downloaded Fast Follow bundles can be loaded offline, or the required configuration step is documented.

Written by the indexing model from the issue text.

Description

Environment:

Unity Editor version: 6000.0.43f1
Addressables package version: 2.3.16
Addressables for Android package version: 1.0.6
Android Build (tested on device)
Issue Description:

I am using Unity's Addressables system with Play Asset Delivery (specifically "Fast Follow" asset packs) for my Android build.

Steps to Reproduce:

Initial Game Launch (with internet):

The game is installed on an Android device.
Upon first launch, the "Fast Follow" asset bundles begin downloading as expected.
After the download completes, I verify the status in code, and it returns AndroidAssetPackStatus.Completed.
I am able to successfully load assets from these bundles using the Addressables system in this session.
Subsequent Game Launch (without internet):

I close the game.
I disable the internet connection on the device.
I relaunch the game.
When I attempt to load assets from the same bundles that were previously downloaded and showed Completed status, the AndroidAssetPackState system returns an "Unknown" status for them.
I am unable to load these assets until I re-enable the internet connection.
Expected Behavior:

Since the "Fast Follow" asset bundles were successfully downloaded and reported as Completed in the initial session, I expect them to be available and loadable offline in subsequent sessions without requiring an internet connection. It seems counter-intuitive that downloaded assets would not be accessible offline.

Question:

Is there a specific configuration or step I might be missing to ensure that "Fast Follow" asset bundles downloaded via Play Asset Delivery remain accessible offline in subsequent game sessions? Has anyone else encountered a similar problem with Addressables and Play Asset Delivery where downloaded assets are not available offline after the initial session?

Dominant language
C#
Stars
1.5k
Forks
303
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Unity-Technologies/Addressables-Sample

All issues in Unity-Technologies/Addressables-Sample

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.