Unity Issue Tracker - Build fails when building using a script and "Build App Bundle (Google Play)" is enabled
Fixed
UUM-10941
Build fails when building using a script and "Build App Bundle (Google Play)" is enabled
Unity: Android
Android
Fixed
2023.1.X
2022.2.X
2021.3.X
2020.3.X
Won't Fix
2022.1.X
Android: Fixed build failing when app bundle option is enabled
2022.1 is now no longer supported as it is end of life.
How to reproduce:
1. Open the user's attached "1317948MyPADproject.zip" project
2. Open the Build Settings (File > Build Settings...)
3. Switch the Platform to Android
4. Enable the "Build App Bundle (Google Play)" option
5. In the Editor top menu press Test > Build Android
Expected results: The build is successful
Actual results: The build fails with "Could not find file ''. at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000c4] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.IO.FileInfo.get_Length () [0x0003f] in <695d1cc93cca45069c528c15c9fdd749>:0" error