Having recently come back to Unity development, after a long period of maybe 2 years, I’ve been really missing Linux support. I’ve struggled for some time to get Unity3D working with Wine.
While it would certainly be very nice to have a native Linux version, I’m creating this thread to give general support on how to get the Unity Editor working with our favourite OS.
I believe this guide is all you’ll need to get Unity running:
Download Unity setup executable
Install PlayOnLinux
Click Tools->Manage Wine Versions
On the x86 tab, select 1.7.6 and click on the right arrow to install it
Click Tools->Run a local script and select the attached script
Follow the install instructions and relax while everything installs
Troubleshooting
If the program installs, but all you get is a blank screen, try changing your system time zone to a more well-known location.
You cannot create a new project from the create a new project dialog. Instead, you must create a new empty directory and point to it
Let me know if anyone run into any problem, I’ll do my best to help.
Can you try the instructions above? Also, if it still doesn’t work, try to copy/paste the log you get when starting it - available from PlayOnLinux on the “debug” option
I used Wine, not PlayonLinux. But I can’t install it on opneSuse.
Traceback (most recent call last):
File “mainwindow.py”, line 31, in
import wxversion
ImportError: No module named wxversion
./playonlinux: line 144: python2.6: nie znaleziono polecenia
I solved the problem. It needs to install python-wxWidgets to start installing playonlinux. And then probably you need to install other things, but python-wxWidgets is the most important to start the program.
I’m going to run Unity3D today. I will tell you the results. By the way, I gave the link to this thread on my blog. I hope your solution works. My friend is in Brazil, in Rio. He loves your country. I hope I’ll visit Brazil soon, too.
Oh, I see Unity Team released a new version, Unity3d 4.3 (Wow, 1 GB!!!). However, still no support for Linux Editor. I hope your solution works on openSuse. I love openSuse, and I wish to run all software I need. I’m programming in Java, but I’d like to use Unity3D again. If I could run it without problems. I hope you will help me, waneck-six. Greetings from cold Poland!
I’ve started to install Unity3d on PlayOnLinux. I did as you told. PlayOnLinux is installing Mono. Let’s wait. It’s going… going… PlayOnLinux is downloading dotnetfx,exe. .NET Framework 2.0 is installing. PlayOnLinux is downloading Windows XP-KBxxxxxx-SP3xxxx. Ok, it should emulate a true Windows :). 316 MB! I’m installing Unity3D. Installing .NET framework 4 Client Profile and Extended. The Unity3D installation finished! PlayOnLinux show me:
Error in POL_Wine
I have two Unity3D icons on my desktop: Unity and Unity3D. Unity doesn’t run Unity, but Unity3D runs the program.I gave my credentials to the Unity account. Now Unity3D is asking me for creating a new project. Well, here it can be a problem. I’ll try your solution.
I made an empty directory and pointed to it in the Unity create new project dialog. Alas, Create button doesn’t work. It’s a known problem to me. So?
I’ve just solved the problem! I hope I remember what I did step by step. I’ll try to recall.
I clicked the Unity3D shortcut on my desktop (remember that PlayOnLinux made two shortcuts for me on the desktop: Unity and Unity3D. Unity doesn’t work. I use Unity3D
Unity3D asked me for creating or opening a project. I had troubles here. I made an empty directory what was told by Cauê. It didn’t work for me :(. I had various irritating errors. temp directory couldn’t be made, another Unity3d software is running, etc. I thought I was impossible to start Unity3D on Linux.
I click Create New Project tab in Project Wizard. I chose assets for my new unity project, but the Create button didn’t work. It was inactive. But I got the empty directory New Unity Project thanks to that.
I clicked Open Project tab.
I clicked Open Other…
I pointed to the New Unity Project directory.
I clicked it to highlight
I clicked OK
And Unity3d started!
Alas, I have no assets in my project. I must test all to tell you more. And I write about that on my IT blog. I hope you will be successful too. Cauê’s script gives some errors but it works. Thanks, man!
Hey Tomza. Great to know it worked for you!
About creating a new project, I meant to point to the trick you’ve discovered above - which is to open an empty directory as if it were a consolidated project.
Maybe you are right about creating a new project. However, I created a new directory and got errors only. I couldn’t run Unity3D. I was playing with Project Wizard. And when I did what I wrote earlier, Unity3D started suddenly. I was amazed. I was trying to install Unity3D earlier, but when I got to Project Wizard, I couldn’t run the editor. I didn’t use PlayOnLinux, only Wine. And there was not your script, of course. I did all manually. Your script is very useful. It automate the process of installation. I wrote about you and your script on my blog. Many people visit my blog, so they will be redirected to this thread. I described the installation process in detail, step by step, so that all people can install Unity3D on *nix platform.
My blog:
Wow! I’ve just installed openSuse 13.1. I’m really amazed. The graphics is maybe better than in Windows is. Use Cauê’s script, my tutorial, and install a new openSuse. Just look at that:
I got this error too. There were some errors but they weren’t critical. I wrote about it in my tutorial. But can you proceed in spite of this error. I could go further. I think you should click Siguiente. Just try it.