0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Absolute Solution for Unity Hub Sign In Opening Just A Blank Page

Last updated at Posted at 2022-11-10

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

  1. First, hit the sign in button again and make sure you get the latest of the blank pages Unity Hub opened
  2. 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
  3. 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
    
  4. 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

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?