My Assets error (Failed to call Unity ID to get auth code)

Hi everyone, I’ve been searching around for a possible solution to this for some time and I still haven’t found anything to help.

I downloaded Unity Hub and Unity 2020.1.0b7 on my machine (Ubuntu 18.04.4 LTS) and everything was okay until I tried to open ‘My Assets’ inside the Package Manager. Inside the Package Manager, I get the error “Error refreshing packages, see console”. The console output is:

[PackageManager] Error System.InvalidOperationException: Failed to call Unity ID to get auth code.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /home/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:338)

I have no proxy set and ‘env | grep -i proxy’ outputs nothing as I have no proxy. I’m not using a firewall or antivirus as this is a new install of Ubuntu. Everything is also up to date on Ubuntu. I’ll add my log file at the end.

I would really appreciate any help with this problem. Thanks!

5942183–636092–info-log.zip (17.4 KB)

5 Likes

Have you fix your problem yet? cause I got the same problem

6 Likes

I also have the same problem and I am a Unity Pro paid subscriber and no one has helped me with this despite me trying to get some sort of communication with Unity I don’t seem to find anyone live person to even speak to. Very difficult to get help!

3 Likes

Is this a recent issue? I’ve just found it happening to me too

1 Like

It works with units 2017 but not with newer version and then you get errors with the newer asset packages if you try to use the assets in the Unity 2017 version. They have so much stuff and info but it is impossible to navigate through all the literature that they have. It works on a PC fine but the Mac does not work in the newer versions. Must be a Unity bug on the Mac version.

4 Likes

Hey there,

We found another user experiencing similar issues and they found the solution themselves:

Maybe that will be helpful but if not, could you please provide your editor.log + upm.log files? Unity - Manual: Log files

1 Like

I’m on pc, v2019.4, and am getting this same error, but on top of that, I can’t sign into unity hub, either. are the servers down?

2 Likes

I have this problem too. I´m running opensuse leap 42.3.

I haven´t been able to resolve this using the other post you provided a link for.

I have provided my editor.log and upm.log files in a zip.

Thanks for taking a look

6196057–679705–logs.zip (13.4 KB)

2 Likes

close unity
sign out your account from unity Hub
then sign in ur account again
open unity
i hope it will help because its working with me

174 Likes

for some reason unity package manager changed to “My Assets” instead of “All Assets” or “In Project”. This is why one gets this error. Switch the menu option back to those two other options instead of “My Assets” and the package manager will connect correctly

6 Likes

For me, on OpenSUSE thumbleweed, what made it work was to install some missing ca-certificates packages, I have these installed now:

ca-certificates-steamtricks
ca-certificates-cacert
ca-certificates-mozilla
ca-certificates

3 Likes

great tip. had two of them missing. installed them via yast: now uniyt asst import working as intended

Didn’t even need to close unity. Just signed out in hub, back in, and the running Unity instance picked up the connection.

69 Likes

Can you guys please explain how did you get there? I’ve literally tried everything else and nothing is working for me, still unable to load “My Assets”.

1 Like

How do you change this??? Would really appreciate the feedback :slight_smile:

Never mind guys I did a Fresh Start on my PC cause I was suspecting it had something to do with the prefab McAfee that came installed with my laptop and now it’s connecting as it god-d*** should. Thanks anyways!

is in the package manager a small drop down menu to chose between the assets you own, those that are in the project or those available from unity

I can confirm that this worked for me: change to In Project, then change back to My Assets and it works.

The close unity, sign out, sign in solution did not work for me.

3 Likes

I had the same problem, I realize now it was caused because I had reset my password in the Unity Asset Store, which no longer matched the logged in password I had in unity hub. Signing out and and signing back in worked for me.

still having this issue. i have done everything