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
- VisionOS Player and Simulator crashes on "nw_read_request_report [C1] Receive failed with error "No message available on STREAM"" when playing a video through VisionOSVideoComponent
- Shader starts acting unexpectedly when SV_primitiveID is used in a Hull/Domain Shader
- [iOS] "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously when using specific Project Settings and Anti-aliasing is enabled
- Inconsistent help box font size in Project Settings window
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
Resolution Note:
There is no way to specify compression in asset packs, so this is by design.