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

Mobile

-

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

  1. Resolution Note (fix version 2022.1):

    Fixed on Unity 2022.1.0a2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.