The Environment
Windows 10, Chrome
What you are seeing
When you hit the "Sign In" button in Unity Hub you see either a blank page whose url is like https://api.unity.com/v1/oauth2/authorize?client_id=unity_hub&response_type=code&code_challenge=XXXXX&code_challenge_method=s256&redirect_uri=unityhub%3A%2F%2Flogin&locale=en_US or, you are getting a login page but eventually ends up in that url and stuck. I'm only assuming this one particular case below
What's the problem?
It is an innner problem that can't be entirely solved within an hour so I will just explain how to avoid that problem
Do this and it'll be done
- First, hit the sign in button again and make sure you get the latest of the blank pages Unity Hub opened
- Inspect the page and see the console, then you can see the massege that goes with
Launched external handler for 'unityhub://login/?code=XXXXXX&locale=en&session_state=XXXXXX'.
then copy the url - Open up your terminal and do the following
C:users\user> cd Where/your/UnityHub/is/installed C:Program Files\Unity Hub>"Unity Hub.exe" unityhub://login/?code=XXXXXX&locale=en&session_state=XXXXXX #what you copied
- You may close this page now, thank you
In case the problem isn't solved
There's really nothing I can do about it, sorry