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
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
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
- "Curve" window workspace doesn't update the scale to match the selected curve preset unless reopened
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
Resolution Note:
There is no way to specify compression in asset packs, so this is by design.