this post was submitted on 03 Aug 2024
11 points (82.4% liked)

Pop!_OS (Linux)

5077 readers
3 users here now

Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.

Unleash your potential

Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.

System76 Logo

Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.

Links

Guides

Hardware

Recommended

Community Rules

Follow the Code of Conduct

All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct

Be helpful

Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.

Critique should be constructive

We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.

This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.

Don't post malicious "advice"

It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.

Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.

No personal attacks

Posts making a personal attack on any user will not be tolerated.

No hate speech

Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.

founded 1 year ago
MODERATORS
 

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 ๐Ÿ˜…

top 13 comments
sorted by: hot top controversial new old
[โ€“] bjorney@lemmy.ca 11 points 1 month ago (1 children)

Anything that says it works on Ubuntu should 99.9999% likely work on Pop, because pop os is built from the Ubuntu package base

[โ€“] Jilanico@lemmy.world 1 points 1 month ago (1 children)

Awesome, thanks! Do you think the specific versions of Ubuntu mentioned matter?

[โ€“] bjorney@lemmy.ca 2 points 1 month ago (1 children)

If unity gives a different download for each, you would have the best luck with whatever version matches closest (so the 22.04 download on current pop_os). Basically the more system dependencies the program has the more likely you will run into conflicts installing on a mismatched OS, but it isn't guaranteed to cause problems (e.g. program requires openSSL version 1.2, but my OS ships with 1.1). I think unity just bundles everything with the binary, so it should be fine.

For what it's worth, i used it on Ubuntu back when it was still in beta and it was super buggy (the installer and account stuff mostly, the engine itself seemed ok), so hopefully their Linux offering has since improved.

[โ€“] Jilanico@lemmy.world 3 points 1 month ago* (last edited 1 month ago) (1 children)

Here's hoping. Thanks for your answer! I really can't abide what MS is doing with Windows so I'd rather switch. Do you think using Wine would be a feasible workaround in the worst case scenario?

[โ€“] bjorney@lemmy.ca 4 points 1 month ago

You will probably have waaaay more issues trying to get the windows client working through wine than dealing with any hiccups on the Linux client. It was buggy but passable like 5-6 years ago so I'm sure it's much better now

You can try running it through a VM first before making the switch - 3d performance will be horrendously bad, but at least it will give you some piece of mind.

[โ€“] Essence_of_Meh@lemmy.world 9 points 1 month ago (1 children)

I moved away from Unity after the whole pricing fiasco (it wasn't the only reason but rather the final push) but I had no technical problems working with it for a good few years. As long as the SDK you need works on Linux you should be good.

[โ€“] Jilanico@lemmy.world 3 points 1 month ago (1 children)

Awesome! Thank you so much!! I didn't think about the SDK needing to be compatible, I should look into that. Would using Wine as a worst case scenario work?

[โ€“] Muffi@programming.dev 8 points 1 month ago

I was running Unity on Pop!_OS a year ago before the pricing scandal, which made me switch to Godot. I highly recommend Godot!

[โ€“] PastaRhythm@lemmy.world 2 points 1 month ago (1 children)

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.

[โ€“] Jilanico@lemmy.world 2 points 1 month ago (1 children)

Thank you so much for the write-up! I'm saving this!!

[โ€“] PastaRhythm@lemmy.world 2 points 1 month ago (1 children)

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