Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Android keystores with non alphanumeric chars not allowed

Discussion in 'Unity Build Automation' started by ImpossibleRobert, Jan 18, 2015.

  1. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    511
    Hi,

    I have a game released on google play. I want to build it now on cloud build but uploading my keystore does not work.

    The name is "rush 'n' roll" and that seems to be the reason. There is no error message but it simply ignores the upload. When I rename the keystore alias to "rushnroll" it works.

    Unfortunately I was not able to rename it in a way so that my keystore stays intact, meaning, google play will refuse to update my apk afterwards. I am blocked now using the cloud build until it accepts the ' and spaces.

    Any chance you can fix that with the next update? Also, it would be nice to have the alias dropdown like in Unity instead of entering it manually :)
     
  2. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    Thank you for this information and the feedback. The ' works properly on your local build? We will try to fix that if possible.
     
  3. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    511
    Yes, local build is just fine and app is released on Google Play with that key.
     
  4. toblerpwn

    toblerpwn

    Joined:
    Apr 8, 2014
    Posts:
    7
    I am also having a problem where my credentials (which contain non-alpha-numeric strings) are not working on Unity Cloud but are working locally.

    David Berger, do you have any update on this? We're signed up for Unity Cloud but cannot use it.
     
  5. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    That should be fixed already. Which characters do you used which do not work?
     
  6. toblerpwn

    toblerpwn

    Joined:
    Apr 8, 2014
    Posts:
    7
    David, I will write you a personal message with more info. Thank you.
     
  7. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    740
    For the general information. @toblerpwn problem was not related to special characters but more about missleading naming conventions between UCB GUI and Unity Editor GUI. Please refer to following affiliations.

    UCB GUI - Unity Editor GUI
    Keystore Password - Keystore password
    Store Password - Password

    Edit: We are currently testing if it is correct, as it looks like following would be correct (but the naming is missleading)

    UCB GUI -> Unity Editor GUI
    Keystore Password -> Password
    Store Password --> Keystore password
     
    Last edited: May 14, 2015
  8. JayArgh

    JayArgh

    Joined:
    Jul 23, 2013
    Posts:
    9
    Hi David! I'm afraid I'm seeing a similar issue, blocked from signing my app in Cloud Build, but perfectly fine in Unity Editor.

    Having selected my keystore in Cloud Build, entered my alias and passwords and attemped to Save Settings, I receive repeated messages of "There was an error: Keystore failed validation (invalid password or alias)."

    This happens regardless of the order in which I enter the passwords, having tried both of the interpretations in your last post.

    I am, however, using special characters in the alias: underscores. Does UCB not support underscores in a keystore alias?
     
    Last edited: Nov 20, 2015
  9. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,458
    I'm having an issue, cant sign, please let me know what I can do

    "There was an error: Keystore failed validation (invalid password or alias)."

    name also contains an underscore
     
    Last edited: Apr 13, 2016
  10. IvanAlvarez

    IvanAlvarez

    Joined:
    Apr 30, 2013
    Posts:
    9
    Failed to update credentials! Keystore failed validation (invalid password or alias).

    but it works in the editor
     
  11. unitychrism

    unitychrism

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    122
    Hello,

    The issue mentioned in the past couple of posts is being worked on now, please standby for an update when it has been fixed.
     
  12. unitychrism

    unitychrism

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    122
    The issue with Android keystore configuration should now be resolved, thanks for your patience.