Search Issue Tracker
Fixed in 2022.1.X
Duplicate in 2020.3.X
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.4f1
2021.1
2021.2
Issue ID
1329922
Regression
No
[Android] Building app using "Ctrl + B" shortcut uses the last used configuration instead of the current one
Steps to reproduce:
1. Open the attached project
2. Open Build Settings window (File > Build Settings...)
3. Check the "Build App Bundle (Google Play)" checkbox
4. Attach Android device, click Build And Run and wait for the project to finish building
5. Uncheck the "Build App Bundle (Google Play)" checkbox
6. Press Ctrl+B to build and run the project again
Expected results: .apk file is created and installed on the device
Actual result: .aab file is built and the install fails
Reproducible with: 2018.4.35f1, 2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a18
Notes:
- Does not reproduce when building Windows Standalone builds
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
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
Resolution Note (fix version 2022.1):
Fixed on Unity 2022.1.0a2