Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2019.2.0a1
Issue ID
1120542
Regression
Yes
[Android] ArgumentException errors thrown when the SDK build-tools directory contains a subdirectory that has an unexpected name
Steps to reproduce:
1. Create a directory named "xyz" under Sdk/build-tools/ (e.g. C:\\android-sdk\build-tools\xyz)
2. Open any project
3. Open Build Settings window
4. Switch to Android
5. Press Build
Expected result: a project is built without any errors
Actual result: Android build settings window is broken, ArgumentException errors flood the console and/or builds fail with ArgumentException errors
Reproducible with: 2019.2.0a1, 2019.2.0a2, 2019.2.0a3 (d51e0e10f042)
Not reproducible with: 2018.3.3f1, 2019.1.0b1
Notes:
- log attached: error.txt
- tested on Linux and Windows
- any dir name that does not follow the standard SDK version naming (e.g. 23.0.0) will cause the bug to reproduce (e.g. '1', 'a', 'xyz', 'android-Q', etc.)
- in Edit/Preferences/External Tools, enabling "Android SDK Tools Installed with Unity" does not change anything
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment