Does anyone have experience developing with Unity 3D game engine on Pop!_OS?

I’m thinking of leaving Windows and Pop seems to be the most painless transition, but I want to get into developing for Unity so that’s a must for me (I can’t use Godot as the SDK I want to use is on Unity only).

Does it work without issues? The Unity site says it works on Ubuntu 18.04, 20.04, 22.04 so not sure if that translates over to Pop. Any advice would be appreciated :)

Worst case, is developing on Unity via Wine an option? I don’t know much about Linux so hopefully that’s not a dumb question 😅

  • PastaRhythm@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    I had an absolute mess of a time trying to get Unity working on Linux. Even once I got it working, it had an issue where hovering over the Burst menu would cause the whole OS to lock up and I would have to reboot. It wasn’t a good experience. I’ve never used Wine so I don’t know if that would be any better.

    When I first got it working, I wrote down the steps I took. I don’t know if this is everything I had to do or if I forgot a step, but it might be a good starting point.

    • Install Unity Hub from the Pop!_Shop. I vividly remember not being able to get it to work right any other way.
    • Install .NET and Mono via flatpak. I wrote down that it had to be version 6 of both SDKs, don’t remember why.
    • Install the flatpak version of Visual Studio Code. You can do this from the Pop!_Shop if you want.
    • Get the C# extension for VSC if you don’t have it.
    • Once in Unity, go to “Edit/Preferences/External Tools” and check “Generate .csproj files for:”
      • Embedded packages
      • Local packages
      • Registry packages
      • Git packages
      • Built-in packages
    • Click “Regenerate project files”
    • When you open a script, Unity will tell you to set “Omnisharp: Use Modern Net” to false in VSC’s settings. Do this to get code suggestions.

    I hope this helps! Welcome to Linux! If you need clarification on any of this, just ask.

      • PastaRhythm@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        For some reason I didn’t include this in my original comment, but to install the flatpaks of .NET 6 and mono 6, you’ll need to use the terminal. Here are the commands I used:

        flatpak install flathub dotnet6
        flatpak install flathub mono6