-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnityHub new 3.0 package change #176783
Comments
Extracting the binary from the .deb is fairly simple and has been done in similar situations in nixpkgs before. |
Is there any quick fix to use unity right now? |
Not that I have found. You could use an old version of the appimage if you still have one. The flatpak is available but is a really old version. |
I am currently building a derivation locally to extract the binary from the .deb package and make it run. Lets see how long it takes |
@GeorgesAlkhouri have you had any success? I have my attempt but it yells about |
I thought that unityhub is an electron app. My current attempt results in a I build it via |
Yeah it is electron but I'm just trying to package the prepackaged electron binary instead of using system electron |
Yes you are right. When trying to use the included electron binary it will result in the same error. Hm when I have some time I will investigate with |
Unfortunately not, I've seen one other mention of the same error with electron with no solution, and I'm not sure how to do deeper debugging personally. |
I've managed to do something: by adding |
I've made a tad more progress, I forgot to enable gnome-keychain so that was causing the hang, but now it's segfaulting 😓 I do see it looking for |
Finally, got it working. It boots up and I can install everything properly. The remaining issue is that hub-installed versions of Unity aren't patched so the hub fails to launch them. It seems that since the previous version used appimages, the library paths were passed to the editor as well as the hub, but I'm not sure how to do it with this. Do I need |
Looking at the appimage code |
Weird error I'm getting when I'm trying to open say Preferences or the Package Manager in the unity editor.... I have no idea what this is from, am I missing gtk stuff?
|
Hopefully the final bit of the saga, it turns out the GTK issue I had isn't unique to NixOS, it occurs on other distros too, see the Unity bug report. In that case, it seems my derivation for the updated Unity Hub is working properly in all other regards, and can be found here. All the I've also made a gist describing how to use Rider with Unity on NixOS as well, might help someone out. |
Thanks for that @huantianad, looking forward to seeing that on master! |
Hehe thanks for the reminder, forgot to make a PR for updating the package! |
I just copied your derivation meanwhile and was the only thing it make unity work (installing the 2021.3.4), thanks! |
Hello @huantianad! I use Unity and just tried out your unityhub.nix file. It works great! However, I cannot find your PR. Would you be able to point me in the right direction? I would love to see this in nixpkgs soon! |
@headblockhead I've been kinda busy recently with other prs and such, but I'm definitely planning to make a PR in nixpkgs, if not later today, definitely by this weekend. Thanks for the support :) |
Project description
Unity is changing the way they deliver the editor via the UnityHub. They have shifted away from the appimage and have started Debian and RHEL repositories. They are not producing the appimage anymore.
Would it be possible to add the new UnityHub to NixOS?
The new download instructions are here:
https://docs.unity3d.com/hub/manual/InstallHub.html#install-hub-linux
The text was updated successfully, but these errors were encountered: