use the monodevelop(build-in), cannot open the file correctly by doublie clicking on editor. Even open the cs file handfully, then you can not use suggestion. 0903 build unity and 4.0.1 built in monodevelop ubuntu 14.04
I have similar problem but in my case there is no spaces in any folder Can some suggest what should I try ? I went to /opt/Unity/MonoDevelop/bin$ and tried to run it manually there but it didn't run I have an error: ./monodevelop: line 21: exec: mono: not found
I still have some error with loading gnome-sharp add-on in monodevelop but it seems that everything is working fine without it
@rootPL i have the same problem here in my Ubuntu 14.04.1, do you have a solution? My solution was installing monodevelop by Code (CSharp): $ sudo apt-get install monodevelop
Installing monodevelop on Gentoo helps as well: "emerge monodevelop" as this will pull in all dependencies but you will end up with another (in my case older) instance of monodevelop.
I too cannot use Monodevelop that comes with Unity 5 (this is the latest version Unity 5.1.0f3+2015091501). I have to first install Monodevelop from the Ubuntu Software Center, then install Unity 5 for it to work (I presume it's using my system's Monodevelop and not the one that comes with Unity). The issue now is that double clicking a script from inside the Unity editor will open Monodevelop, but not the file itself. I have to use Monodevelop's manual Open function to find the script and open it. With every script I try to open from within Unity, it will open a new Monodevelop instance as well. This is not the intended experience I'm sure. Running on Ubuntu 15.04 64bit.
Here are some things that I've found will block your usage with Monodevelop and Unity. 1) If you have a git repository with your Project, you won't be able to edit any files.. As if all of the files are "read-only". Delete the ".git" folder and you can continue. 2) If you have another project you've opened up with Unity/Monodevelop, and for some reason it's not loading, it will always error until you clear the 'recent solutions' list. Because it will (on-load) try and open the last project, THEN open the current project (weird I know).
This is my situation, similar to Sabun, Monodevelope did not work from Unity until i install the standalone. After doing that, the build-in worked just fine and now it opens. The problem is that when you click the script not all the time opens it and sometimes i lose the auto complete. This is very useful if you are new to the object you are working on.
The problem is that when I double click on script every time opens new Monodevelop. How can i fix it? Sorry for my English it's not my mother language ( The solve is Code (CSharp): $ sudo apt-get install monodevelop ty @lassade
I second (or thirteenth) this, Installed Unity on a clean Ubuntu (Mate) install (14.10, then fully updated) that didn't have MonoDevelop installed yet. Ubuntu MonoDevelop wouldn't work until I installed the standard one, and then it won't load files on clicking, and autocomplete is not working.
Same problem. My project folder name does not have spaces. Running Elementary Luna (built on Ubuntu 12.04 64bit) Regardless, no other work stopping issues so thanks Unity for this version!
Hi..! I think i found the problem causing the built-in monodevelop editor doesn't work out-of-the-box. I looked into /opt/Unity/MonoDevelop/bin/monodevelop (the shell script file that run the editor) and i found in the line 14 a call for a program named realpath (SCRIPT_PATH="`realpath $0`"). Then i tried to run the program manually in a terminal window, but the program it is not installed. I installed realpath with a Code (CSharp): sudo apt-get install realpath command on Ubuntu 14.04 and the built-in editor launched just fine. That would solve the issue, i think. edit: Making some research i found that are other methods for obtain the same result as realpath gived to the SCRIPT_PATH variable without the need of install the realpath. (I have not really tested this solution) eg. Code (CSharp): echo $(cd $(dirname "$0") && pwd -P)/$(basename "$0") source: http://stackoverflow.com/questions/5265702/how-to-get-full-path-of-a-file I hope this info can help someone.
Someone pin this along with the Unity install thread plox thx. Worked for me, Linux Mint 17.3 had to: Install mono-complete (follow instructions on the mono develop site http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives THEN write the sudo apt-get install mono-complete) Go to Prefs > External Tools > Open monodevelop in /opt/Unity/MonoDevelop/bin and install this realpath good job fabioj ~s2
Me install realpath or use this echo in script did not work. but I found another solution. 1) open the script file with gedit in sudo: sudo gedit /opt/Unity/MonoDevelop/bin/monodevelop 2) change the script like this in the picture, specifying the directory of the raw and direct way monodevelop and save. (line: EXE_DIR="/opt/Unity/MonoDevelop/bin/") 3) Specify the unity in preferences> external script editor> browse> select the INICIALIZATION SCRIPT of monodevelop, Attention: not the .exe. Done. Obs: Unity 5.5b5 fabioj, thanks to you my Linux development environment was made possible! Linux users do not give up!
Thanks for the tips. None of them didn't work directly, but combine some of the tricks I make it work. This is what I did: Install monodevelop (sudo apt-get install monodevelop) In Unity preferences browse to /usr/bin/monodevelop and that's it. I have freshly installed Mint 18.1 and Unity2017.1.0f1
To install Monodevelop on UBUNTU (Linux): Install Unity3D First. Then install Monodevelop. 1) sudo apt-get update 2) sudo apt-get install mono-complete 3) sudo apt-get install eferenceassemblies-pcl 4) sudo apt-get install ca-certificates-mono After that Go to Prefs > External Tools > Open monodevelop in> Browse: Computer/opt/Unity/MonoDevelop/bin/ MonoDevelop.exe It worked for me!!! Shalom!
In my case, I've installed the Monodevelop from monodevelop website and not from a software center, as usualy we get older versions. In this situation we end up with a flatpack package, which is a kind of sandbox where monodevelop will run. To link monodevelop editor with Unity I changed the monodevelop script in /opt/unity/MonoDevelop/bin to Code (CSharp): #this script should be in $PREFIX/bin MONO_EXEC="flatpak run com.xamarin.MonoDevelop" #MONO_EXEC="exec -a monodevelop mono" #EXE_DIR="/opt/Unity/Monodevelop/bin/" #SCRIPT_PATH="`realpath $0`" #EXE_DIR="`dirname ${SCRIPT_PATH}`" this solution is NOT 100% functional as we do not have autocomplete, but I can open the Solution scripts directly from Unity, edit & save them.