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

Resolved Unable to create keystore. Please make sure the location of the keystore is valid.

Discussion in 'Editor & General Support' started by Zir2904, Oct 1, 2023.

  1. Zir2904

    Zir2904

    Joined:
    Sep 13, 2021
    Posts:
    7
    Sorry for posting the same thing on a different forum um not sure on which one to post....

    The version of unity i am using is 2023.1.13f1. This is the error i get when attempting to create a new keystore. I didnt really find any useful solutions online. Are there any other ways to sign the application? I want to publish my app on google play store. Any help would be helpful. Here is the entire error message.
     

    Attached Files:

  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,954
    Wow, that looks like a Unity error... there is an illegal UTF codepoint in the command stream:

    Screen Shot 2023-10-01 at 12.34.27 PM.png

    AFAIK,
    <feff>
    is a ZERO WIDTH NO BREAK SPACE and should NEVER be sent to an external tool.

    You can try a different version of Unity to make the keystore, or just make it from the native Android tools yourself, then tell your Unity to use it. Google for how... it's a lot of really really REALLY annoying command line fiddling to get just right unfortunately. :/
     
    Zir2904 likes this.
  3. Zir2904

    Zir2904

    Joined:
    Sep 13, 2021
    Posts:
    7

    Thank you very much for the reply i tried creating the keystore in another project in a different unity version (2022.3.9f1) and it worked. Then i tried to use that keystore in my project and it always said wrong password (i set the password for everything to 0123456789 just in case) and the console showed the same error and i checked the <feff> was still there. So i just transfered my project to the unity version in which i managed to create a keystore and now it works.

    So in short, thanks for the help. <3
     
    Kurt-Dekker likes this.
  4. dibsoftwares

    dibsoftwares

    Joined:
    Mar 24, 2019
    Posts:
    3
    I have the same problem version 2023.1.9f. I downgraded and the keystore was generated, but some affected libraries are trying to resolve it. but I believe that the 2023 versions are not stable for this purpose
     
    Zir2904 likes this.