Search Issue Tracker
Active
Under Consideration for 2022.3.X
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Add comment