Search Issue Tracker
By Design
Votes
0
Found in
2019.2
2019.3
2019.3.7f1
Issue ID
1232022
Regression
No
Android crash when turning Android Minify to Proguard
Steps to reproduce:
1. Open User-supplied project with Android platform
2. In Project Settings -> Player -> Publishing Settings -> Minify set the Release and Debug to Proguard
3. Build and Run on Android
Expected: The app runs
Actual: The app crashes
Reproduced in: 2019.2.21f1, 2019.3.9f1
Not reproduced in: 2018.4.21f1(Can't build due to errors), 2020.1.0b5 (Can't build due to errors), 2020.2.0a7 (Can't build due to errors)
Note:
Android logs attached in log.txt
Tested with:
VLNQA00277, Asus ROG Phone (ASUS_Z01QD), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00121, Samsung Galaxy S9 (SM-G960F), Android 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
When Proguard is used, it's rules has to be setup correctly, so that required classes/methods are not removed/renamed. There is a Player Setting to setup custom Proguard file. See Proguard documentation on how to write rules.