Search Issue Tracker

By Design

Votes

0

Found in

2021.3.29f1

2022.3.8f1

2023.1.10f1

2023.2.0b6

2023.3.0a2

Issue ID

UUM-48597

Regression

No

[Android] UnityDataAssetPack-master.apk contains uncompressed assets when building .aab with Split Application Binary selected

-

Reproduction steps:
1. Open the attached project “ReproProject”
2. Download bundleTool from [https://github.com/google/bundletool|https://github.com/google/bundletool|smart-link]
3. Open the “Player Settings > Player > Publishing Settings” menu and select “Split Application Binary”
4. Open the ‘File > Build Settings’ menu
5. Choose "Build App Bundle (Google Play)" and set the Compression Method to 'Default.' Start building the Project
6. Use the Terminal to navigate to the Build Folder. Enter: "java -jar bundletool-all-<bundletool version>.jar build-apks --bundle=<build name>.aab --output=repro.apks”
7. Open “repro.apks” with an extraction tool/ in Terminal
8. Go to the “asset-slices” folder
9. Unzip “UnityDataAsset-master.apk” in the Terminal with the command “unzip -v <apkname>.apk”
10. Proceed to the "assets > bin > Data" directory and observe the compression status of the files

Expected result: The assets are Compressed and have the Method “Deflate”
Actual result: The assets are not Compressed and have the Method “Stored”

Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2

Reproducible on: macOS(Intel) Ventura 13.4.1
Not reproducible on: No other environment tested

  1. Resolution Note:

    There is no way to specify compression in asset packs, so this is by design.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.