Search Unity

Unity Hub not working with Browser Login [Please Help]

Discussion in 'Unity Hub' started by Taploid7, Jun 16, 2022.

  1. Taploid7

    Taploid7

    Joined:
    Jun 16, 2022
    Posts:
    6
    Hello people,

    I need the Unity Hub for a course but I can't login via the hub due to it not being functional; when I press the sign in button it leads me to a blank page with a broken launch unityhub:// link. Please tell me if there are any other ways I can log in to the Unity Hub and install some versions before my course, thank y'all!

    Sincerely,

    Taploid7

    Helpful links:

    The Sign In button takes me here: https://api.unity.com/v1/oauth2/aut...56&redirect_uri=unityhub://login&locale=en_US

    In the view-source, it says to click on this link unityhub://login/?code=FIh8XLzJ5c8IT3lBx9c0Tw011f&locale=en&session_state=db195990a850753388a64c72cfd6da9345f5fb592c021ff021fa47f9c0b4cae3.4s3Vbms0mxqwjvDZW4hqvA011f ---- if I'm not redirected
     
  2. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822
    Try clearing your browser cookies and cache??
     
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,205
    Sounds like something is interfering. A misbehaving or overzealous anti-virus is a good possibility.
     
  4. Warren93

    Warren93

    Joined:
    Jun 2, 2014
    Posts:
    9
    Are you behind a proxy? Do the Unity Hub logs (on windows: %APPDATA%\UnityHub\logs) mention anything useful
     
  5. Taploid7

    Taploid7

    Joined:
    Jun 16, 2022
    Posts:
    6
    Let me check the logs
     
  6. Taploid7

    Taploid7

    Joined:
    Jun 16, 2022
    Posts:
    6
    I do have some parental control apps on my PC though, might be the problem
     
  7. Taploid7

    Taploid7

    Joined:
    Jun 16, 2022
    Posts:
    6
    I will try this second
     
  8. MilitaryG

    MilitaryG

    Joined:
    Apr 26, 2021
    Posts:
    28
    Same for me I was testing for quite long and more than just this

    It seems if I use master OS windows and virtual linux everything works.

    If i use master linux and virtual windows nothing works not even gmail

    Also if i use linux not virtualized it doesnt work like half of the world

    So thing is we need login and pass inside hub to work

    Thanks if you do this I would be greatly appreciated
     
    Last edited: Jun 26, 2022
  9. MilitaryG

    MilitaryG

    Joined:
    Apr 26, 2021
    Posts:
    28
    ok I managed to get unity hub working in linux not in Virtual box

    I downloaded the Proton VPN which is free
    and connect to it and now it works
     
  10. Superme_Dog89

    Superme_Dog89

    Joined:
    Sep 8, 2022
    Posts:
    1
    i keep getting it too, what do i do if i delete those will it do somehting bad?
     
  11. Jabaconater

    Jabaconater

    Joined:
    Mar 11, 2022
    Posts:
    2
    I receive the same error, and have tried clearing cookies and cache, and that didn't do anything.
     
  12. CaptnCra

    CaptnCra

    Joined:
    Nov 18, 2022
    Posts:
    11
    What we have found is our corporate proxy solution is inspecting SSL traffic and Node/NPM behind the scenes is failing despite trying to set the caFile or the environment variable NODE_EXTRA_CA_CERTS pointing to our proxy certificate (the cert file is valid as I add this to java keystore for many solutions and it works)

    The work around for us has been to introduce the environment variable NODE_TLS_REJECT_UNAUTHORIZED with a value of 0 Not ideal as it disables security but it works.

    Our launcher batch follows the Unity documentation for setting proxy at user launch and has been listed in other forum posts. I have been installing unity into a root directory as I'm tired of toggling my admin creds to edit items in Program Files.

    @echo off
    set http_proxy=http://ip_or_url:port
    set https_proxy=http://ip_or_url:port
    set NODE_TLS_REJECT_UNAUTHORIZED=0
    start "" "C:\Unity\Unity Hub\Unity Hub.exe"
     
    LordDooms, XSchoett and jaydenchoe like this.
  13. jaydenchoe

    jaydenchoe

    Joined:
    Jan 27, 2023
    Posts:
    2
    It works! Thanks a lot
     
  14. OverTakers_Manager

    OverTakers_Manager

    Joined:
    Feb 3, 2023
    Posts:
    2
    How to do this exactly?
     
  15. CaptnCra

    CaptnCra

    Joined:
    Nov 18, 2022
    Posts:
    11
    The lines I included in my last post are for a custom launcher (batch/cmd) file on the desktop of the Unity user. This will set 3 user environment variables for the duration that Unity Hub is running. The first 2 set the proxy variables, the 3rd sets the NODE_TLS_REJECT_UNAUTHORIZED variable. Alternatively you could set this as a system variable but I prefer to only set this for the application that needs it, hence the batch/cmd to launch the app. Similar can be done on Mac OS using a launch script.
     
    jaydenchoe likes this.
  16. Kahpop69

    Kahpop69

    Joined:
    Jun 18, 2023
    Posts:
    1
    it's perfect!!! tks so muchh
     
  17. zoroKnight01

    zoroKnight01

    Joined:
    Jun 26, 2023
    Posts:
    1
    when i try to sign in from unity hub or unity editor both just send me to login page where i login but after login in broswer it direct me to this blank page link :- api.unity.com/v1/oauth2/authorize?client_id=unity_hub&response_type=code&code_challenge=J0X9s4zGmywSew4e0nXzEUCXhMaeZDZS2s4-mHJsU50&code_challenge_method=s256&redirect_uri=unityhub%3A%2F%2Flogin&locale=en_US

    instead of connecting to unity hub or unity editor

    i think the broswer is unable to connect to unity hub or editor

    what do i do
     
  18. Horseboy811

    Horseboy811

    Joined:
    May 23, 2023
    Posts:
    1
    I hate my life
     
  19. LordDooms

    LordDooms

    Joined:
    Sep 20, 2014
    Posts:
    10

    This worked. thank you. Like WTF. and then it stopped the next day.

    Reinstalled unity hub and it has been working for a couple of weeks
     
    Last edited: Apr 22, 2024 at 1:34 PM