Search Issue Tracker
Active
Votes
0
Found in
2020.3
2020.3.13f1
2021.2
2022.1
2022.2
Issue ID
1347521
Regression
No
[Android] Invalid ReTrace mapping file is generated when using R8 for minification
Reproduction steps:
1. Download and open the attached project: "doles-dolez.zip"
2. Go to Edit > Project Settings... > Player > Publishing settings
3. Make sure "Use R8" and "Release" checkboxes under Minify are selected
4. Go to Build Settings and check the Build App Bundle (Google Play) checkbox
5. Build the app bundle
6. Open the Google Play Console and upload the app bundle
7. Under "Required features" press the options button to upload the ReTrace mapping file created in the same folder as the built app bundle
8. Upload the mapping file
Expected result: The mapping file is accepted
Actual result: The mapping file is not accepted, an error is thrown - "Couldn't upload. Try again."
Reproducible with: 2020.3.27f1, 2021.2.9f1, 2022.1.0b5, 2022.2.0a2
Could not test with: 2019.4.35f1 (Due to errors upon downgrading the project)
Notes:
- The naming of the mapping file was the same for both minification versions, thus ruling out file naming as the issue
- The R8 minification mapping file is noticeably smaller and contains fewer lines than the Proguard minification mapping file
- When uploading the app bundle generated with Proguard minification, the ReTrace file is uploaded by default
- In a message below, the user attached screenshots related to the steps for clarification
- The mapping files are attached down below for comparison: "test_mapping_R8.txt", "test_mapping.txt"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment