Search Issue Tracker
By Design
Votes
5
Found in
2022.3.34f1
Issue ID
UUM-74037
Regression
No
[2022.3 only][Android] Asset Packs fail to load in the Player when the built Project uses Play Asset Delivery
How to reproduce:
1. Open the attached “PADTest.zip” project
2. Build the Gradle project via the custom button in the toolbar (PADTest → “Build Gradle Project - asset packs”)
3. Open the built Gradle project in Android Studio
4. Connect an Android device and Run the Gradle Project
5. Observe the Logcat console
Expected result: “Found expected StreamingAssets sample file” message is thrown in the Logcat
Actual result: “StreamingAssets file not found…” error is being thrown in the Logcat
Reproducible with: 2022.3.34f1
Couldn’t test with: 2021.3.39f1 (“Unsupported class file major version 61” error in Android Studio), 6000.0.7f1 (“The project is using an incompatible version (AGP 8.3.0) of the Android Gradle plugin.” error in Android Studio)
Reproducible on: Windows 11, macOS 14.4.1 (M1) - user’s
Not reproducible on: No other environment tested
Notes:
- This additional error appears in the Logcat: “AssetPackManager : Could not sync active asset packs. com.google.android.play.core.assetpacks.AssetPackException: -5: Asset Pack Download Error(-5): The Asset Delivery API is not available. ([https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackErrorCode.html#API_NOT_AVAILABLE|https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackErrorCode.html#API_NOT_AVAILABLE|smart-link] )”
- While reproducing the issue this device was used:
VLNQA00517, Oneplus OnePlus 10 Pro 5G (NE2213), Android 12, CPU: Snapdragon 8 Gen 1 (SM8450), GPU: Adreno (TM) 730
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
When deploying/running AAB from Android Studio it is required to use "APK from App Bundle" setting (https://developer.android.com/guide/app-bundle/test#deploy-using-studio). Bu default Android Studio deploys base APK only.