Search Issue Tracker
By Design
By Design in 2023.3.X
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
There is no way to specify compression in asset packs, so this is by design.
Resolution Note (2023.3.X):
There is no way to specify compression in asset packs, so this is by design.