Search Issue Tracker
Third Party Issue
Votes
0
Found in
2019.4.29f1
2019.4.32f1
2020.3
2021.2
2022.1
2022.2
Issue ID
1402590
Regression
Yes
[Android] StreamingAsset compression settings in gradle template are ignored when building Player for Android
How to reproduce:
1. Open the attached project "cjbu.zip"
2. Change Platform to Android
3. Build the bundles by clicking the menu item: “Assets/Bundles/Batch Mode/Run Auto Batch Mode Bundle Builder"
4. Select the option that copies all to the StreamingAsset folder
5. When the build finishes, open Unity again
6. Build the project
7. Open the built APK with a zipping tool and go to "my_build.apk"\assets\AssetBundles folder
8. Observe the "Method" column of the contents
Expected results: All files in the folder have "Store" method
Actual results: All files in the folder have "Deflate" method
Reproducible with: 2019.4.32f1, 2019.4.36f1, 2020.3.31f1, 2021.2.16f1, 2022.1.0b12, 2022.2.0a8
Not reproducible with: 2019.4.31f1
Notes:
- The issue can also be seen when running APK on an Android device. The loading screen will be present for over 2 minutes. Loading will take under 5 seconds when the issue is not reproducible
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Add comment