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
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
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Terrain Layer settings remain when the Terrain Layer is removed
- Terrain Layer settings UI elements overlap when a new Terrain Layer is created
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Resolution Note:
There is no way to specify compression in asset packs, so this is by design.