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 )”
- 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 JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.