Unity 3D will not open MonoDevelop

12,226

Solution 1

As I don't have enough rep to comment on your question, I'll have to ask you this through the answer.

Did you try to open monodevelop through the bash (open a terminal then type monodevelop and press enter)

In case monodevelop is not installed, you might need to install it yourself

sudo apt-get install monodevelop

Solution 2

I was having the same issue.

The script for opening monodevelop needed a program called realpath that I didn't have. So:

sudo apt-get install realpath

Experts: there are alternative methods to installing realpath ;)

Also you might want to double-check that Unity3D has the correct path to monodevelop;

  • Open Unity3D, in the menus go to Edit > Preferences.
  • Go to the External Tools tab.
  • Open the drop-down menu External Script Editor and select Browse... (below).

Preferences Window

Depending on where you have MonoDevelop installed you should select the script named monodevelop.

I had MonoDevelop installed with Unity3D.

Path Explanation

Find the monodevelop folder and select MonoDevelop/bin/monodevelop.

Share:
12,226

Related videos on Youtube

Demandooda
Author by

Demandooda

I like working with Unity. I hope to get better, and I already have a Ludum dare project. But no matter how much I learn and know, there always seems to be more code to learn. Wish me luck on my journey!

Updated on September 18, 2022

Comments

  • Demandooda
    Demandooda over 1 year

    I installed Unity3d on Ubuntu 14.04 LTS. It works, and I want to get started. So I make a C# script, and when I try to open it nothing happens. No error message, no anything. I just double click it or right click and select "open", and nothing happens. So I went to preferences, and I selected the gnome text editor, and when I double click it now, it opens up the script. So it is clearly a problem with MonoDevelop. When I try to open up MonoDevelop without using unity3d, just the application, nothing happens a well. Does anyone know what the problem is, and how to solve it?

    Thank you.

  • The19thFighter
    The19thFighter almost 8 years
    Well, at least I'm glad I could help you to find out the cause. Regarding the inability to open the project, I'm not sure about how unity handles it, but normally it should be possible to create a correct file association in case it's broken, by saying that the program you want it to be used is "monodevelop %U" Where %U is being substituted by the file. (I'm a KDE user unfortunately) Also I'm not sure if by Unity you mean Unity3D or Ubuntu Unity as you're referring to C# scripts.
  • Mina Michael
    Mina Michael almost 8 years
    Please try not to leave the answer ambiguous for other people having the same issue. Explain the steps more precisely. I couldn't get help from your answer.
  • The19thFighter
    The19thFighter almost 8 years
    There is no way in not answering vaguely, if they aren't enough information in the question, and if you're unable to tell exactly which program is affected. In this case I didn't know it was about Unity3D and I thought he might have talked about Unity (nautilus or nemo). Also "doesn't start" requires more information (in this case by starting monodevelop using the bash). Normally I'd ask this in a comment, but need 50 rep. And afterwards he used the bash, half of the issue resolved itself by installing monodevelop first (as suggested by the console output). The other half is solved below.
  • pegu
    pegu over 7 years
    install with yes flag?? sudo apt-get install monodevelop -y & then use /usr/bin/monodevelop
  • hsandt
    hsandt almost 6 years
    External Script Editor Args won't show up anymore as of Unity 2017 (at least on Linux), with Monodevelop support being dropped. You can use a symlink script with a different name than "monodevelop" to make the args appear again but then you'll have other problems due to symlinking. The staff suggested me to use VS Code or Rider, unfortunately in Rider on Ubuntu the special keys are not working. And vanilla Monodevelop cannot connect to unity anyway. I guess I'll only be able to debug on VS Code.
  • Michael Cole
    Michael Cole over 5 years
    I didn't need realpath. See the monodevelop project for the instructions to install the repository so you can install it, install it, then follow instructions to configure Unity.