Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2018.4.30f1
2019.4
2020.3
Issue ID
1325753
Regression
No
Apk file is created when changing defines and building via script in batch mode
Steps to reproduce:
1. Open the user's attached project "BootCorruptRepro.zip"
2. Navigate to Project settings-> Player-> Other and clear the Scripting Define Symbols area
3. Save and close the project
4. In the project root folder edit the "build.bat" file to point to the desired Unity version
5. Double click on the Build.bat (after some time an apk "app.apk" will appear)
Expected results: apk is not created and error is printed in log file
Actual results: apk "app.apk" is created in the project folder
Reproduction: 2018.4.31f1, 2019.4.24f1, 2020.2.3f5, 2021.1.2f1, 2021.2.0a16
Note:
- Scripting Define Symbol area is empty at first but becomes filled after every build
- The issue does not reproduce if building from the editor
- The issue does not reproduce with Standalone
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a6