Unable to login Unity Hub on Linux

Hi all,

I tried to login from Unity Hub and it was success in browser but nothing happened in Hub. The Login page gave me a redirect link as “unityhub://…”, I tried to use this link by command “UnityHub.AppImage unityhub://…” but no luck.
Then I thought if I can manually add a license, I can bypass the login process. However, after license added, the login launcher appeared again. Now I’m really confused, how can I use Unity?

Having the same problem. With Linux Mint 20.2
Watching this thread for a possible solution

Managed a little workaround:

./UnityHubBeta.AppImage --appimage-extract

this will create a “squashfs-root” folder
from there, you can start the unityhub script with the redirect link as a parameter

./unityhub unityhub://login/?code=…

The “unityhub://…” part is attainable from the html page source code when the xdg-open fails after the first sign in attempt.

Edit: Debian 11

I found a slightly less clunky work around and posted it here: I want to download an older Hub version

That thread was the first I found with the same symptoms I had. Hope that helps you!

Have the same issue on Ubuntu 18.04

Same problem in fedora 34 :confused:
seems to be a problem configuration with xdg-open i think… HELP !

Yep, same problem! No response after getting to

This worked for me thanks! I was trying to mess with xdg-settings but just couldn’t get it to work. Thanks for the work around

Hello!
I also have the problem described on Linux Mint 20.2. The workaround doesn’t work for me. Anyone found the solution yet? :frowning:

Unity ID<some_has_text>&code_challenge_method=s256&redirect_uri=unityhub%3A%2F%2Flogin&locale=en_US

how exactly will this text be used?

Hi there!
Could you please try this workaround?

Hi! Thank you!
I did try it out but got lost in the process.

I managed to put it to work by installing the Unity Hub using my Software Manager (linux mint)

Don’t know about you guys but i downloaded Unity Hub 3.0 ran the install script it came with. Then i was able to sign in.

Hi,
I tried this on Manjaro (KDE) and got “zsh: parse error near `&'”
I then decided to put quotation marks (", but I think ’ will work too) on the “unityhub://…” part and I got it working. Hope this info is helpful to anyone.

This fix did it for me on Ubuntu 20.04, thanks homie.

I tried all of these other things, nothing worked. I fixed it by following the first step from the unity manual:
In terminal chmod +x UnityHub.AppImage
I then copied this process with the INSTALL.sh file:
In terminal chmod +x INSTALL.sh
I then ran INSTALL.sh:
In terminal ./INSTALL.sh
booted up as normal from there.

I’m not sure that compiling the .AppImage file is even necessary to run INSTALL.sh, I just don’t want to repeat the process to verify what is happening here

Yes it has worked.
Because it said:
Registering the required unityhub URL scheme with XDG

It put under to ~/home/Applications

It was funny. All we just needed to use the install script :smile:

this is work for me. (ubuntu 20)

this is worked for me(ubuntu 20)

Thanks you! it works for me (ubuntu 21.10)