Search Unity

Cannot perform upm operation: Unable to add package []

Discussion in 'Package Manager' started by sama-van, Aug 10, 2021.

  1. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    Well the error message is clear, it cannot login using a GIT URL.
    I am trying with working package repo.

    1. pageant is running > ssh key loaded > if using SourceTree no issue while pulling.
    2. added the GIT_SSH variable to the Environment Variables.

    upload_2021-8-10_13-23-33.png

    3. Still Unity shows the following message while adding git package to UPM.

    Any idea? o_O
    Thank you!

    EDIT : I am following this :
    https://medium.com/@FredericRP/your...age-manager-from-a-git-subfolder-1339880dd09f

    EDIT 2 : I also followed this to setup properly the ssh key and the varialble environnement :
    - https://docs.unity3d.com/Manual/upm-errors.html#openssh-win
     
    Last edited: Aug 10, 2021
    Bavnon likes this.
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there,

    In the case of after changing environment variables, (GIT_SSH), you'll need to restart both the Hub and the Editor. https://docs.unity3d.com/Manual/upm-git.html#Git-SSH

    We're still a bit stumped with regards to what the issue might be here so a bug report would be immensely helpful. Are you able to provide one and let me know of the ID number so we can take a look at this in more detail?
     
  3. samgamescarrybeast

    samgamescarrybeast

    Joined:
    Dec 9, 2021
    Posts:
    1
    lets see it will work or not