Search Unity

Bug Sign in link broken

Discussion in 'Linux' started by Dromasin, Oct 13, 2021.

  1. Dromasin

    Dromasin

    Joined:
    Sep 16, 2020
    Posts:
    5
    Hey all. I'm currently trying to log into the unity hub for Linux, however, when I click the link it opens a blank webpage in my browser. I'm running on Ubuntu 20.04 (which I know is non-PORf but I've had no issues with it before!) Any help would be much appreciated.
     
    Skade88 likes this.
  2. dgs_stan

    dgs_stan

    Joined:
    Sep 6, 2018
    Posts:
    3
    I am having exact same issue using Ubuntu 21.04 :(
    I noticed it you copy the link and open it in private browser it actually works sort of. it opens the sign in page you can sign it but after signing in it opens another blank page. :(
    Copying the second blank link to non-private browser gives this:
    {
    "message" : "Conversation Not Found",
    "code" : "132.191",
    "details" : [ {
    "field" : "cid",
    "reason" : "Conversation not found"
    } ]
    }

    PS Tried this on Chrome browser
    Using Unity Hub 3.0.0.beta.5
    Hope someone can have more info on this.

    Thanks,
    Stan
     
  3. Dromasin

    Dromasin

    Joined:
    Sep 16, 2020
    Posts:
    5
    This is identical to the issue I'm having. Any support from the Unity team would be great. I'm having to work from a VM and it's not nearly as effective!
     
  4. atom_games

    atom_games

    Joined:
    Jun 7, 2017
    Posts:
    1
    I'm having the same issue; Debian 11 with i3 window manager.
     
  5. Scyllot

    Scyllot

    Joined:
    Jan 15, 2020
    Posts:
    2
    Same here.
     
  6. dgs_stan

    dgs_stan

    Joined:
    Sep 6, 2018
    Posts:
    3
    Hey guys,

    I found a little work around that worked for me on Ubuntu 21.10:
    Download Unity Hub 2.4.5
    It opens and allow you to download latest version of Unity.
    I was able to install Unity 2020 LTS
    I am not sure where I found 2.4.5 but if you cant find it let me know I can upload it to google drive for you.

    Hope this helps you guys too!
     
    Su-Ryusei likes this.
  7. mohammadgarous

    mohammadgarous

    Joined:
    May 13, 2019
    Posts:
    12
    same problem on unity 20.04 :( , please give me download link for unity hub 2.4.5
     
    tupaloo likes this.
  8. dgs_stan

    dgs_stan

    Joined:
    Sep 6, 2018
    Posts:
    3
  9. largosensei

    largosensei

    Joined:
    Apr 13, 2019
    Posts:
    5
    Howdy Thread!

    Looks like this issue is resolved with the new re-release of 3.0.0-beta6. (Archive, not Appimage solo) It's an archive with the installation script and the appimage. Installing from the AppImage alone does not include the installation of the handler file to facilitate that login process. Hope it helps!

    Crosspost of relevant thread with manual fix and details for those curious.
    https://forum.unity.com/threads/temporary-workaround-for-hub-bug.989477/
     
  10. GeorgeZZ

    GeorgeZZ

    Joined:
    Aug 31, 2014
    Posts:
    8
    https://forum.unity.com/threads/i-want-to-download-an-older-hub-version.1176920/
    See reply no.9.
    First I also got blank page in firefox, but after several login attempt I got a page said firefox can not understand the link and after a good time of search I got this post.

    UnityHub 3.0 beta release is a disaster. Worst experience ever. Whole night was wasted on this problem.

    As a former robotic industry software developer I really hate any software developer force you to update your staff, because "if every thing seems work then DO NOT UPDATE!!" is FOR A REASON.

    And unityhub become one of them.
    Back the day I was using windows, I forced unityhub to not update. After this unexpected-because I'm not joining UNITYHUB BETA- accident, now I'm going to FORCE unityhub to not update again.
     
    Last edited: Nov 2, 2021
  11. Skade88

    Skade88

    Joined:
    Jan 2, 2017
    Posts:
    21
    I am having an issue running the INSTALL.sh installer script. Any pro tips on how to resolve this issue?

    sh ./INSTALL.sh
    This script will only run if the UnityHub.AppImage is at the same location as this script
    This will wipe any existing Unity Hub installations, are you willing to proceed? [N|y]: ./INSTALL.sh: 11: read: arg count

    It does not give me a chance to respond to the N|y question and instead crashes.

    I am on Ubuntu 20.04.3 LTS
     
    Last edited: Nov 2, 2021
    dereavy likes this.
  12. dereavy

    dereavy

    Joined:
    Dec 1, 2021
    Posts:
    2
    Same issue, I am on Ubuntu 21.04 LTS

    Caused because UnityHub is not registered to handle unityhub:// links

    I've found a workaround that works with latest Hub:
    - Lauch the UnityHub AppImage, click Sign In
    - Enter the credentials
    - In the blank webpage you are redirected to, right-click -> show source. Copy the address starting with unityhub://
    - close the UnityHub, open a terminal in the folder containing it, and start as a command :
    ./UnityHub.AppImage unityhub://<the-url-you-have-copied>

    And Unity Hub should start properly with you being logged in!
     
    Last edited: Dec 1, 2021
    AllyGFinch, Regone, timhoa and 7 others like this.
  13. mazzini_unity959

    mazzini_unity959

    Joined:
    Dec 10, 2021
    Posts:
    2
    THANKS!!! That worked like a charm
     
    timhoa likes this.
  14. Eiyon

    Eiyon

    Joined:
    Apr 23, 2015
    Posts:
    5
    Dude, you saved the day!
     
    Illustrious_Paul and timhoa like this.
  15. Eiyon

    Eiyon

    Joined:
    Apr 23, 2015
    Posts:
    5
    Dude, you saved the day!
     
    timhoa likes this.
  16. aerovir

    aerovir

    Joined:
    Jan 31, 2017
    Posts:
    1
    do chmod +x INSTALL.sh, then ./INSTALL.sh
     
  17. Gelblicher

    Gelblicher

    Joined:
    Feb 27, 2022
    Posts:
    1
    ich bin zu dumm dafür, glaub ich eyy man :(
     
    timhoa likes this.
  18. Yuuma98

    Yuuma98

    Joined:
    Mar 2, 2022
    Posts:
    2
    Hello, i have the same issue in windows, how do i redirect in windows with the cmd
     
    devtripathi likes this.
  19. mohsenshakerin1

    mohsenshakerin1

    Joined:
    Mar 16, 2022
    Posts:
    1
    dont work for windows!
     
    Diathan likes this.
  20. PogNoodle

    PogNoodle

    Joined:
    Jan 7, 2022
    Posts:
    1
    I'm F***ing germans! ♥
     
  21. DaoneKing

    DaoneKing

    Joined:
    Feb 15, 2021
    Posts:
    2
     
  22. SHUBHAM9TX

    SHUBHAM9TX

    Joined:
    Jun 21, 2022
    Posts:
    1
    Thanks a lot bro. you saved me Your solution fixed my problem ( i just update my unity hub and its work ) your a GENIUS !
     
  23. SockPuppetFriend

    SockPuppetFriend

    Unity Technologies

    Joined:
    Dec 3, 2021
    Posts:
    9
    A more direct way to solve this problem is to just register Unity Hub to handle unityhub links.

    Just run this, then the sign-in dance between the Hub and the browser will work correctly:

    xdg-mime default appimagekit-unityhub.desktop x-scheme-handler/unityhub
     
    mateus25delai likes this.
  24. MAN_532

    MAN_532

    Joined:
    Jun 18, 2022
    Posts:
    1
    Had the same problem. I just reinstalled unity hub and it worked. I'm on windows
     
  25. IronMAKERs

    IronMAKERs

    Joined:
    Sep 21, 2022
    Posts:
    1
    I'm a little confused, how exactly do you run this?
     
    bubblebabe759 likes this.
  26. bubblebabe759

    bubblebabe759

    Joined:
    Sep 21, 2022
    Posts:
    1
    Could you please explain in a way for the less advanced of us please this makes no sense to me
     
  27. SockPuppetFriend

    SockPuppetFriend

    Unity Technologies

    Joined:
    Dec 3, 2021
    Posts:
    9
    Howdy IronMAKERS.

    Let's take a second and review OP's problem statement:
    "I'm currently trying to log into the unity hub for Linux, however, when I click the link it opens a blank webpage in my browser. I'm running on Ubuntu 20.04"

    So I'm assuming people asking for help here are on Linux (and they are running into the problem that the Unity Hub does not have the proper file type associations created for it, which is breaking the login process).

    If this applies to you, then you run this by opening a terminal and copy pasting it in like so:
    Code (CSharp):
    1. oldman@oldman-desktop2 ~ $ xdg-mime default appimagekit-unityhub.desktop x-scheme-handler/unityhub
    2. oldman@oldman-desktop2 ~ $
    3.  
    Then the next step is to try and login through the Unity Hub again - it should work now.

    However, if you're on a different platform, then please create a new thread, as the problem/solution will probably be different.
     
  28. JP_GAME_DEV

    JP_GAME_DEV

    Joined:
    Nov 30, 2022
    Posts:
    3
    I use a chromebook, and when I launched UnityHub.AppImage, it said that the file type did not support Chrome OS
     
  29. Joshuab2014

    Joshuab2014

    Joined:
    Dec 11, 2022
    Posts:
    2
    Same But I Use Unity Hub 3.3.0 And Debian 11.5 [ I Know I Have The Wrong Distro but i wanted to see if it works]
     
  30. Joshuab2014

    Joshuab2014

    Joined:
    Dec 11, 2022
    Posts:
    2
    Also Im On Chromebook With Linux Downloaded [distro stated above]
     
  31. CubicMathTime

    CubicMathTime

    Joined:
    Jan 9, 2023
    Posts:
    2
  32. CubicMathTime

    CubicMathTime

    Joined:
    Jan 9, 2023
    Posts:
    2
    This method doesn't seem to be working properly. After typing in "chmod +x UnityHub.AppImage," in my UnityHub folder, I followed this tutorial word for word. I've attached below an image of the results, I can't quite understand what they mean.
    Screenshot 2023-01-09 8.32.42 AM.png
     
  33. desilentio

    desilentio

    Joined:
    Jan 3, 2023
    Posts:
    1
    I was having the same problem, but just figured it out and got UnityHub to login in after 2-3 days of trying. There were two problems I had to overcome.

    First, Unity's authentication method is sending a URL back to the browser that is supposed to communicate with the UnityHub app on your computer. However, it has the
    unityhub
    protocol and by default your operating system (Linux in my case) and your browser (Firefox) don't know how to deal with that protocol (as opposed to
    http
    for example). I discovered this by looking at the Firefox inspection console, which gave an error similar to:
    So the first thing to do is to associate the protocol with the Unity Hub app. The info from this link got me most of the way there.
    But you also need to make sure to reload the file in the OS before it becomes active:
    I use KDE/Plasma, so nothing here is really Gnome specific. I don't know how this stuff works on Windows, but hopefully knowing what the problem is will help.

    The second issue was that Firefox was preventing the authorization script from executing (until I authorized it). To fix this issue you have to open up the Web Developer Tools and open the console. You should see a warning line similar to this:
    The text authorize should be a clickable link. Clicking on it will authorize the request and send the data back to the UnityHub app and successfully log you in.

    Hope this helps
     
  34. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    @JeffUnity3D told me last year that Chrome OS isn't supported.
     
  35. JP_GAME_DEV

    JP_GAME_DEV

    Joined:
    Nov 30, 2022
    Posts:
    3
    Yeah so I got a new Macbook for Christmas this year
     
  36. ingmardoesdaily

    ingmardoesdaily

    Joined:
    Apr 25, 2022
    Posts:
    1
    what and the what now? what do you mean by "enter the credentials"?
     
  37. yopiwa2334

    yopiwa2334

    Joined:
    Feb 15, 2023
    Posts:
    1
    Yes Im getting those same issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
  38. Andrew_dev_unity

    Andrew_dev_unity

    Joined:
    May 12, 2023
    Posts:
    1
    My Path to get the unity launcher to work on Ubuntu 22.04 :

    1. Download AppImage from https://forum.unity.com/threads/unity-hub-v2-0-0-release.677485/#post-4936106
    2. Create unity account
    3. Log in to unity Account in the browser
    4. Start Appimage (by doing "chmod +x <name of the appimage>" and then "./<name of the appimage>"
    5. Click login on Appimage window
    6. A empty white window should open in your browser (for me the request for that xdg-open did not change anything)
    7. On this empty site right click -> view page source
    8. Copy the Link that starts with unityhub://
    9. Go into Folder where your appimage is located (from step 4)
    10. Open Terminal and type: ./UnityHub.AppImage unityhub://<the-url-you-have-copied>

    This worked for me.

    But https://forum.unity.com/threads/sign-in-link-broken.1182610/#post-8718240 seems to be a better more permanent solution. But I have not tested that.

    EDIT: I don't know if step 3 is needed but I guess it cannot hurt
     
  39. ownerlife1400

    ownerlife1400

    Joined:
    Dec 3, 2021
    Posts:
    7
    its dos not working on windows ...
    i have this problem every 10 days
    every time need a different solution
    and its driving me crazy .
    please resolve this unity
    thanks
     
  40. Nokori

    Nokori

    Joined:
    Jun 2, 2022
    Posts:
    1
    I found the easiest Workaround...
    I just copied the link and pastet it into Internet explorer and got imediate results.
     
  41. lian666666

    lian666666

    Joined:
    Oct 12, 2022
    Posts:
    1
    windows user in cmd : start "" "C:\path\to\Unity Hub.exe" unityhub://<<the-url-you-have-copied>
     
  42. Raidwiz

    Raidwiz

    Joined:
    Jul 12, 2023
    Posts:
    1
    I just copied the link that wouldn't load into another tab on my Chrome browser and it worked.
     
  43. devtripathi

    devtripathi

    Joined:
    Dec 23, 2022
    Posts:
    3
    Can Give me the solution for Windows if there any thread related that ?