Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Unity 5 b9 Windows store build issue

Discussion in 'Unity 5 Pre-order Beta' started by BuildABurgerBurg, Oct 30, 2014.

  1. BuildABurgerBurg

    BuildABurgerBurg

    Joined:
    Nov 5, 2012
    Posts:
    566
    Does anyone have an idea why im getting this error when im creating a build for windows store. The same project builds fine when i switch to android.

    !overwrite && (ERROR_FILE_EXISTS == error)
    UnityEditor.EditorUtility:WSACreateTestCertificate(String, String, String, Boolean)
    PostProcessMetroPlayer:postProcessSDKSpecific(WSASDK, BuildTarget, BuildOptions, String, String, ProjectImages) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessMetroPlayer.cs:730)
    PostProcessMetroPlayer:postProcess(BuildTarget, BuildOptions, String, String, String, String) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessMetroPlayer.cs:556)
    UnityEditor.HostView:OnGUI()


    hr == HRESULT_FROM_WIN32(ERROR_FILE_EXISTS)
    UnityEditor.EditorUtility:WSACreateTestCertificate(String, String, String, Boolean)
    PostProcessMetroPlayer:postProcessSDKSpecific(WSASDK, BuildTarget, BuildOptions, String, String, ProjectImages) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessMetroPlayer.cs:730)
    PostProcessMetroPlayer:postProcess(BuildTarget, BuildOptions, String, String, String, String) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessMetroPlayer.cs:556)
    UnityEditor.HostView:OnGUI()


    Error building Player: UnityException: Failed to create test certificate.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,956
    Try going to PlayerSettings, and hit Create under Certificate.
     
  3. BuildABurgerBurg

    BuildABurgerBurg

    Joined:
    Nov 5, 2012
    Posts:
    566
    Thanks Thomas, that fixed it.