Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
0
Found in
2019.1.0a12
2019.2.0b1
Issue ID
1158036
Regression
Yes
[Android] build fails when setting keystore path via script as a string with relative path value
To reproduce:
1. Open attached project "655009_SignGradle.zip"
2. Make sure keystore path is set with "PlayerSettings.Android.keystoreName = keystorePath;" in script SetKeystone.cs
3. Change platform to Android and build the project
4. Observe the build fail
Expected: provided keystore path is converted to full path
Actual: string with relative path is not converted to full, resulting in failed build (check build.gradle)
Reproduced in: 2019.1.0a12, 2019.1.5f1, 2019.2.0b5, 2019.3.0a5
Not reproduced in: 2017.4.28f1, 2018.4.1f1, 2019.1.0a11
Note1: setting keystore path via script on Windows results in keystore not being found due to different path string formatting
Note2: contrary to Windows, using GetFullPath() returns relative path in Mac's path field (however in built project, global path is included, therefore it works)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Add comment