Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

What is the state of the linux editor nowadays?

Discussion in 'Linux Editor' started by MarkrosoftGames, Jun 22, 2020.

  1. MarkrosoftGames

    MarkrosoftGames

    Joined:
    Jan 5, 2012
    Posts:
    442
    Hello fellow unity devs,

    I've been out of the game for awhile now but I want to jump back in. I used Unity a lot on windows years back, but prefer to run linux normally. I did try using the linux editor a few times but always seemed to run into weird issues when converting my projects over from windows or when changing versions (which i try not to do unless i have to). I also remember having a hard time using two different computers for a project, like using git and doing some work on a windows machine, and then going back over to linux again.

    I've looked into other stuff like godot and unreal, but they are even more of a pain to setup on linux and I still seem to prefer unity to those, and I've been using unity on and off for a long time now so it would seem like a waste to switch over now.

    So what do you guy have to say about the current state of the linux editor? Is it pretty much a full version now, or would you consider it to still be buggy and weird to use? Are there people using the linux version and releasing full and well made stuff?
     
  2. jooleanlogic

    jooleanlogic

    Joined:
    Mar 1, 2018
    Posts:
    364
    I think it's generally a case of YMMV depending on distro and featureset you're using.
    It's undoubtedly in a better place now than a year ago but there's ever constant issues.

    I've got 19.3 running ok on Mint 19.3 but the new 2020 version consumes high cpu on idle which was a problem I had on previous versions as well. It's two steps forward, one back but the overall progress is positive.

    Gui on mine still feels fragile. I've got about a 1 pixel wide bar in which I can click to scroll in some windows and I get gui events from one part of the screen affecting other parts. Constant crashes on close. Stuff like that. They're not show stoppers though.

    Just have to try it. There's answers to a lot of the common install issues on this forum if you run into any.
     
  3. willemsenzo

    willemsenzo

    Joined:
    Nov 15, 2012
    Posts:
    556
    I'm on Mint 18.3 and so far Unity 2019.3 has been the most stable for me. My biggest frustrations are the jerky movement of UI windows and long times to either create a new project or load an existing project. Building seems to be taking forever. What used to take a minute before isn't even close to finishing after 10 minutes and I just stop it because I'm running out of patience. I do consider the editor as usable because it doesn't crash that often anymore, but still the overall experience is cumbersome.
     
  4. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    314
    I'm using Ubuntu 18.04 which is a supported distro and it works great, been used it daily for work over a year now with no major issues. The only thing I can think of is the jerky movement of UI windows mentioned above, not a deal-breaker but a little fiddly.
     
  5. l33794m3r

    l33794m3r

    Joined:
    Jul 27, 2020
    Posts:
    2
    I wish it'd work that well for me. I just installed the hub but everytime I create a new project it says "the saved project 5.0" is older than the current version then it just crashes silently. I'm on Debian which Ubuntu is based upon so I was expecting it to work OK.
     
  6. tsobral

    tsobral

    Joined:
    Apr 25, 2020
    Posts:
    2
    It works great, font rendering can be a little buggy (Unity Hub, Editor is fine actually). I tested on Ubuntu 20.04 and Mint 20 with no problems. And I would like to remark the VS Code + code auto complete (intellisense), completely functional right now on Linux. Performance wise, I really can't tell which is better, Windows or Linux, my computer is a bit old and I don't notice the difference.
     
  7. CrikeyM8

    CrikeyM8

    Joined:
    Jun 30, 2016
    Posts:
    2
    Bad.

    - The official .Appimage doesn't install unity builds on my system, it runs into file permission problems and I will not be running the Unity Hub as root. The unofficial Flathub version installs Unity Editor just fine.

    - VSCode auto complete does not work at all, Unity.com install instructions do not work on my system. I have tried Flathub releases, .deb releases from Pop!_Shop, and .deb releases from the VSCode website. None of them work correctly with any Unity Editor install I have tried.

    - After the Unity Editor is launched from the .Appimage Unity Hub, it will not open VSCode or any other external editors. The Flathub version of Unity Hub will launch a Unity Editor that will open VSCode, but the Flathub version of VSCode doesn't behave correctly, and still will not auto complete, or even auto error check.

    - You CAN NOT use the asset store. "Open in Unity" buttons will do nothing on your system. With no alternate way of downloading anything from the Asset Store, you aren't able to use it, period.

    All of this was done on a Pop!_OS 20.04 machine with a 970 and a 4670k.

    If anybody can tell me what you did to get any of the above items to work, please let me know. I have tried every iteration of official Unity instructions, they do not work.
     
  8. MadWatch

    MadWatch

    Joined:
    May 26, 2016
    Posts:
    44
    Works fine for me. I'm currently using Kubuntu. Was using Ubuntu before and it worked well there too.


    What do you mean by "doesn't install unity builds"? For me the official appimage works well. To use it you have two options:
    • Do a chmod +x on it to make it executable and then just run it.
    • Use a third party program such as appimagelauncher to install it properly on your system (this is what I did).
    I also used the Flathub version of Unity Hub. It worked fine, except Unity couldn't use any gamepad with it. That was because of a bad permission configuration of the flatpak. I solved the problem by editing the permissions using a program called Flatseal. Maybe the problem have been solved since then.

    Works fine for me. I agree it doesn't work if you install VSCode through Flathub (maybe the problem have been solved since I tried it though). But installing from .deb or Snap works fine. Either way, there are other packages you have to install and some configuration you have to do to get auto completion to work. Check some other threads on this forum and you will find instructions about how to do it.

    You have to configure Unity and tell to use VSCode. You might have to tell it where the VSCode executable is if it doesn't find it by itself.

    Not sure what's this "Open in Unity" button you're talking about, but I'm using the asset store and it works just fine. I didn't try using it through my web browser though, I'm using it directly from Unity and I didn't have any trouble downloading and installing stuff. If you're browsing the asset store with your web browser then maybe that's the problem (like if your browser was installed through Flatpak or Snap it might not have the permissions to communicate with Unity, but that's just speculations on my part).

    Hope these will help you.
     
  9. CrikeyM8

    CrikeyM8

    Joined:
    Jun 30, 2016
    Posts:
    2
    I did that, but when I had tried to install Unity through Unity hub it would complain about not being able to mkdir in ~/Unity/Hub. The appimage will run and launch any installed editors just fine, it just runs into problems when downloading new builds.

    Do you know what these are? All of the information I can find is either windows specific, or too old to be relevant.

    What version of unity are you using? The LTS and new release versions of the editor will tell me that "The Asset Store has moved, You can visit the Asset Store website from 'unity_version' onwards, and also import your purchases from the Package Manager". The old way of accessing the asset store from within Unity does not work with new releases, and the new method of clicking a link in the Web Browser to open in unity does not work for me. Magnet links open in transmission and augmented steam will open steam from browser as well.

    Sorry if I sound like a dick, I've been pulling my hair out for a few days trying to get this to work. When the troubleshooting tips boil down to "make sure you followed the instructions", it can be frustrating.
     
  10. NiirB

    NiirB

    Joined:
    Jun 21, 2019
    Posts:
    11
    I wanna note that I've had a bunch of issues with building HTML5 for some reason even when I have all dependencies. Sometimes Unity just doesn't get Python to work and throws errors at me, then I restart it a few time and it ends up working out.

    Pop 20.04 isn't an offically support distro so it's partly my fault but it's not really the best that's what i'm trying to say.

    It works, but it doesn't work well.
     
  11. MadWatch

    MadWatch

    Joined:
    May 26, 2016
    Posts:
    44
    Sounds a lot like a permission issue. That's weird. Normally there isn't anything special to do about that.
    Could it be that you installed Unity as root (or a different user than the one you're using normally) and, as a result, Unity's directory isn't writable by you? There is no need to install Unity as root, and there is no need to run it as root either.

    Check here.

    I'm running 2019.4.2f1.

    Don't worry about that. I know what hair pulling feels like.
     
  12. DarkCSFixer

    DarkCSFixer

    Joined:
    Feb 24, 2017
    Posts:
    18
    I'm using Unity 2018.4.18 on Linux Mint 19.3. With almost no problems other the dragging windows and slow build time. I don't use the Asset Store, so I don't know if that works.

    I tried Unity 2019, but it didn't seem to work right on Linux so I went back to 2018.
     
  13. KevinWelton

    KevinWelton

    Unity Technologies

    Joined:
    Jul 26, 2018
    Posts:
    27
    @CrikeyM8, we know about the asset store links not opening in Unity. It's definitely a bug on our side :(

    The workaround is to go to the Package Manager and select the source as "My Assets".
     
unityunity