Search Unity

(SOLVED) Error I can't download assets

Discussion in 'Package Manager' started by LadyLegend, May 14, 2020.

  1. LadyLegend

    LadyLegend

    Joined:
    Oct 6, 2017
    Posts:
    50
    PackageManager] Error System.InvalidOperationException: Failed to call Unity ID to get auth code.
    UnityEditor.AsyncHTTPClient:Done(State, Int32) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AsyncHTTPClient.cs:246)

    I posted this somewhere I can't find it. sorry for double post.
    but I cannot download or update from asset store. I can import.
    MacOS High Sierra
    unity 2019.3.13f1
    and previous versions

    tried reinstalling unity and new projects it didn't work
    ran the diagnostic all checks were green
    firewall is off but just in case I turned it on and added unity hub and the editor then turned it back off.
    I have no clue how to do the proxy test but I'm betting it won't work.
    I downloaded to a old computer everything worked find so I deleted unity and everything else unity related on my new computer reinstalled unity and still have the problem
     
    Last edited: May 15, 2020
  2. LadyLegend

    LadyLegend

    Joined:
    Oct 6, 2017
    Posts:
    50
    Sooo in my iMac network advance settings in proxies I unchecked them all. Actually Socks proxy was the only one checked and voila! Lord knows how it got checked in the first place.
     
  3. tznasoia

    tznasoia

    Joined:
    Jun 5, 2020
    Posts:
    1
    I've been struggling for the same issue. Thank you so much
     
  4. hereismerc

    hereismerc

    Joined:
    Jun 17, 2020
    Posts:
    1
    Omg omg omg omg omg Lady legend u r god! It worked in my mac had struggled and worried a lot, u made my day, I disabled my sold proxy watever that is and my assest are now I stalling thx
     
  5. salvatorefabio1

    salvatorefabio1

    Joined:
    May 30, 2020
    Posts:
    2
    Thank you!!!
    this worked for me too
     
  6. venkatsaikarthik

    venkatsaikarthik

    Joined:
    Sep 6, 2020
    Posts:
    1
    omg thanks a lot lady legend bro you helped me a lot I was so frustrated when it was not installing but then I saw this and its working perfectly fine.
     
  7. joshsid1238

    joshsid1238

    Joined:
    Jul 23, 2020
    Posts:
    1
    hmmm I think its gonna work, thx lady
     
    Last edited: Sep 13, 2020
  8. POPROCKLOCK

    POPROCKLOCK

    Joined:
    Apr 14, 2020
    Posts:
    2
    LadyLegend thx so much! it actually worked
     
  9. Cocholon_Games

    Cocholon_Games

    Joined:
    Nov 11, 2020
    Posts:
    1
    Wanna know something funny? I had the same issue and all that was needed was to update the Hub and log in. Lol
     
  10. Curiosity_Tube

    Curiosity_Tube

    Joined:
    Oct 2, 2020
    Posts:
    2
    What about windows tho? :(
     
  11. Mark7of7

    Mark7of7

    Joined:
    Nov 30, 2017
    Posts:
    2
    Truly a legend. Looked everywhere, Unity support team cannot help anyone with this issue. Just saying it is a problem with your connection. But LadyLegend solved it like a pro. Thank you so much. If I could donate, I would send you money. The time and effort you have saved me.
     
  12. MitchStan

    MitchStan

    Joined:
    Feb 26, 2007
    Posts:
    568
    That worked for me too! Thanks!
     
    Last edited: Mar 5, 2021
  13. le_bonn

    le_bonn

    Joined:
    Oct 15, 2015
    Posts:
    1
    Many thanks for posting! Problem resolved.
     
  14. MitchStan

    MitchStan

    Joined:
    Feb 26, 2007
    Posts:
    568
    By the way, your solution helped me to identify malware on my computer that was effecting my ability to send emails as well as hijacking my browser search engine. So thanks for helping fix all of that.
     
    coatline and tjoshcoder like this.
  15. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,633
    Anyone know a solution for windows?
     
  16. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Look through the pinned thread regarding connectivity issues.
     
  17. rgrlee71

    rgrlee71

    Joined:
    Sep 11, 2012
    Posts:
    37
    I just had this issue and all I did was log out of Unity HUB (and didn't log back in) and it instantly fixed it. I have more ongoing issues with the stupid package manager than any other part of the software.
     
  18. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,633
    dont you need hub to run unity tho?
     
  19. shb_balan

    shb_balan

    Joined:
    Aug 17, 2021
    Posts:
    2
  20. JuanJSAR

    JuanJSAR

    Joined:
    Feb 21, 2014
    Posts:
    47
    in my case indicated the following errors:
    [Package Manager Window] Unable to perform online search:
    Cannot fetch authorization code. User access token is expired or invalid. You may need to sign out and sign in again.
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

    [Package Manager Window] Cannot perform upm operation: Unable to perform online search:
    Cannot fetch authorization code. User access token is expired or invalid. You may need to sign out and sign in again.
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

    I just had to close the session in the hub and open it again.
     
    damelin likes this.
  21. pkoleszar

    pkoleszar

    Joined:
    Mar 21, 2022
    Posts:
    2
    This worked for me. Thank you!
     
    Asanyth likes this.
  22. ThinhHB

    ThinhHB

    Joined:
    Oct 24, 2014
    Posts:
    11
    wow, for me, I logged out and logged in again and problem solved, thanks for the trick ;)
     
    sondc4, bakinto and Fadahemmy like this.
  23. TechsUnity

    TechsUnity

    Joined:
    May 3, 2022
    Posts:
    1
    You are a legend
     
  24. KesterEvers

    KesterEvers

    Joined:
    Dec 5, 2018
    Posts:
    2
    I had the same problem. Closing the editor and restarting the Hub fixed it.
     
    vachara likes this.
  25. Mi-d-o

    Mi-d-o

    Joined:
    May 19, 2022
    Posts:
    1
    I just signed out and logged back in on unity hub and it works perfectly.
     
    sondc4 and bowieziehm like this.
  26. Fadahemmy

    Fadahemmy

    Joined:
    May 21, 2022
    Posts:
    1
    Yes, this worked for me. Currently using Unity 2021.3.1f1
     
  27. Alyabani

    Alyabani

    Joined:
    Jun 5, 2022
    Posts:
    1
    That worked for me too, thanks a lot :)
     
  28. RoyalKingZB

    RoyalKingZB

    Joined:
    Sep 23, 2021
    Posts:
    4
    Did this and logged back in in the hub and it worked, thanks
     
  29. bradakan

    bradakan

    Joined:
    Feb 17, 2014
    Posts:
    4
    I had the same issue today and i also just needed to update unity hub.
     
    policekid0 likes this.
  30. VincentSerpico

    VincentSerpico

    Joined:
    May 15, 2018
    Posts:
    5
    I signed out of Unity Hub and then back in. Works now.
     
  31. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,633
    still finding assets that say "no download available" very cheeky considering Ive paid for them
     
  32. k3nt741

    k3nt741

    Joined:
    Aug 5, 2021
    Posts:
    3
    A simple restart of the PC helped me.
     
  33. TokyoBro

    TokyoBro

    Joined:
    Apr 27, 2020
    Posts:
    1

    You have to log in to your UnityID for it to work. I tried to log out of my Unity ID to reset my password and I now have this issue. Try signing into you Unity ID
     
  34. edfish91

    edfish91

    Joined:
    May 17, 2022
    Posts:
    1

    Thank you! This was the resolve for me. Well signing out of Unity hub and back in.
     
  35. corvinkristof

    corvinkristof

    Joined:
    Sep 22, 2020
    Posts:
    3
    Really appreciate it thanks man
     
  36. corvinkristof

    corvinkristof

    Joined:
    Sep 22, 2020
    Posts:
    3
    Ur a Legend
     
  37. kiradorin94

    kiradorin94

    Joined:
    Sep 8, 2022
    Posts:
    1
    For Windows, u just restart ur computer
     
  38. mark-007

    mark-007

    Joined:
    Mar 4, 2015
    Posts:
    27
    Oh come on Unity, this one is real nonsense, please sort it out
     
  39. unity_E5CAB0F23C72F4A0A349

    unity_E5CAB0F23C72F4A0A349

    Joined:
    Oct 3, 2022
    Posts:
    1
    Esto me funcionó amigo, muchas gracias, eres un capooo!!!
     
  40. emech

    emech

    Joined:
    Jun 20, 2022
    Posts:
    1
    same issue in my case
     
  41. LohanPineau

    LohanPineau

    Joined:
    Mar 19, 2021
    Posts:
    4
    SAME LET'S GOOOOOOOOOOOOOO thanks by the way
     
  42. ArneBanane123

    ArneBanane123

    Joined:
    Nov 27, 2022
    Posts:
    2
    worked for me as well!!!!
     
  43. iliachry

    iliachry

    Joined:
    Jan 17, 2017
    Posts:
    2
    In unity 2021.3 and unity hub 3.3 I signed out and signed in and it worked.
     
    aloopascal likes this.
  44. mhotep

    mhotep

    Joined:
    Aug 7, 2014
    Posts:
    1
    That was too simple for words. Thanks for all the help.
     
  45. Monkey_Plaza_Randy

    Monkey_Plaza_Randy

    Joined:
    Jan 1, 2023
    Posts:
    1
    for windows, just turn your network profile to public and it works
     
  46. algassimoupelleldiallo2005

    algassimoupelleldiallo2005

    Joined:
    Jan 19, 2023
    Posts:
    1
    Moi j’ai redémarré le logiciel Unity et je n’avais plus de problème
     
  47. bort_bort_albort

    bort_bort_albort

    Joined:
    Feb 18, 2023
    Posts:
    1
    its so stressful figuring it out but when you get to fixed it then you will realize your problem is very simple and stupid how funny is that? lol mine is that i signed in to my unity account inside the project because i was signed out and i dont know why,and it fixed,
     
  48. OmerNazeer

    OmerNazeer

    Joined:
    Feb 22, 2023
    Posts:
    3
    Just signing in to my unity account from unity editor solved my problem
     
  49. Alonshakaroff

    Alonshakaroff

    Joined:
    Sep 14, 2022
    Posts:
    1
    Worked for me, thanks!
     
  50. Asanyth

    Asanyth

    Joined:
    Mar 12, 2023
    Posts:
    3
    Logging out then logging back into unity HUB worked for also (Windows User, but likely also works on Mac as well)