Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Linux build for 5.3.0: Monodevelop refuse to start

Discussion in 'Linux' started by opwallin, Jan 6, 2016.

  1. opwallin

    opwallin

    Joined:
    Dec 27, 2013
    Posts:
    17
    I can't start Monodevelop for Unity in Ubuntu 14.4.

    cli execution doesn't reveal any problems, GUI shows two dialog where first said

    "fatal error has occurred

    Details of this error have been automatically sent to Xamarin for analysis. MonoDevelop-Unity will now close"

    and other included text 'MonoDevelop-Unity failed to start' and then 'has ta vista baby ..'

    More like installation problems. Either Unity editor doens't work properly.

    And what it's coming to official support we (unity3d and Linux users) would like to hear officials statements it's Linux Os some times going to be support or not. Either way it's ok but releasing this kind of the ad hoc releases now and then is not going to serve any sides purposes.
     
  2. TylerRick

    TylerRick

    Joined:
    Jan 8, 2016
    Posts:
    3
    I can't start Monodevelop from Unity either. I'm also running Ubuntu 14.04. Installed Unity from unity-editor-5.1.0f3+2015082501_amd64.deb.

    When I click Edit Script in the UI nothing at all happens. I don't see any dialogs like you did. I also tried starting Unity from a terminal and din't see any output at all on the shell. How do I enable/see debug/warning messages from the program?

    I've also tried unchecking Editor Attaching and restarting. That didn't help either.

    Any ideas?
     
  3. TylerRick

    TylerRick

    Joined:
    Jan 8, 2016
    Posts:
    3
    tcharafi200 likes this.
  4. TylerRick

    TylerRick

    Joined:
    Jan 8, 2016
    Posts:
    3
    Works now. Installing monodevelop was all I needed to do...
     
  5. craysiii

    craysiii

    Joined:
    Apr 26, 2014
    Posts:
    4
    I can't get MonoDevelop to work either, running Ubuntu Gnome 15.10 x64. I did install mono-develop from the repo, and still nothing working.
     
  6. sumauma

    sumauma

    Joined:
    Aug 11, 2015
    Posts:
    17
    I'll describe what worked for me.
    • In Unity go to Edit / Preferences
    • Select External Tools
    • On External Script Editor select "Browse..."
    • Browse to your Unity installation path (mine is /opt/Unity) then select the file "monodevelop" in [Unity Installation Path]/MonoDevelop/bin
    • Close Unity Preferences
    • Get to work
    Hope it helps someone. Didn't installed monodevelop from the repos.
     
  7. Charro

    Charro

    Joined:
    Oct 5, 2015
    Posts:
    16
    Working with Linux Mint 17 Cinnamon here.

    In case it helps somebody, I managed to make MonoDevelop working doing the following:

    - First, even if Unity install its own MonoDevelop, I had to install mono-complete package:

    "sudo apt-get install mono-complete"

    - Then, as sumauma said in previous post, go to preferences->External Tools and choose the folder where Unity installed MonoDevelop (in my case /opt/Unity/MonoDevelop/bin/monodevelop)

    That worked for me
     
  8. mohammad_rasmi

    mohammad_rasmi

    Joined:
    Jan 5, 2016
    Posts:
    2
    On Fedora 22 it fails due to old mono/develop packages in the official repositories, so I installed the latest version from tpokorra repo at https://copr.fedoraproject.org/coprs/tpokorra/mono (as suggested by mono's official website) and it works fine.

    Follow these steps:
    after which follow sumauma's steps and you're good to go.

    NOTE: Fedora 23 has a more recent version in their official repo so it should not have the same issue.
     
  9. miguelmich

    miguelmich

    Joined:
    Mar 5, 2016
    Posts:
    1
    Tested on Elementary OS 0.3.2 Freya (Ubuntu 14.04) and it worked perfectly!

    Thanks
     
  10. codestage

    codestage

    Joined:
    Jul 27, 2012
    Posts:
    1,931
    @sumauma thanks!
    MonoDevelop didn't worked for me out of the box after 5.3.4f1 install, followed your comment and now it works fine!
     
  11. superkid333

    superkid333

    Joined:
    Apr 15, 2016
    Posts:
    9
    Hi,

    I just started using Unity like 48 hours ago. This was the most frustrating thing to get running, monodevelop.

    I can confirm that it is working now. I followed the steps above from sumauma and others. I am running Ubuntu 15.10.

    I tried using the "sudo apt-get install monodevelop" and then running sumauma's plan, it did not work. I removed that package, and then autoremoved the dependencies. I then tried "sudo apt-get install mono-complete" and although it is significantly larger in file size, it did work.

    Thanks!
     
  12. fabioj

    fabioj

    Joined:
    Jan 9, 2016
    Posts:
    7
  13. ahokinson

    ahokinson

    Joined:
    Apr 28, 2016
    Posts:
    22
    @sumauma has the right solution for the latest beta version of Unity. Although, you would think the selected MonoDevelop (built-in) should work...
     
  14. obben

    obben

    Joined:
    Oct 23, 2013
    Posts:
    2
    The only way MonoDevelop works for me is to change MONO_EXEC to sudo mono. For some reason, if mono is not run with root permissions, Unity's monodevelop won't start.
     
  15. obben

    obben

    Joined:
    Oct 23, 2013
    Posts:
    2
    As an update, I have removed ~/.cache/MonoDevelop-Unity-5.0 and the builtin MonoDevelop worked. System MonoDevelop has issues with unity.: no syntax highlighting or file open at the start.
     
    Last edited: May 26, 2016
    Paladin_Ramos likes this.
  16. markmandel

    markmandel

    Joined:
    Feb 1, 2016
    Posts:
    11
    So I just install mono-complete, and suddenly it all just worked. Weird?
     
  17. darkoverlordofdata

    darkoverlordofdata

    Joined:
    Nov 18, 2015
    Posts:
    6
    Installing the unity editor doesn't seem to install the mono runtime. Installing mono-complete installs the runtime. I think they are expecting that csharp developers will already have it installed.
     
  18. tylerecouture

    tylerecouture

    Joined:
    Oct 17, 2015
    Posts:
    6
    Tried this on Mint 17.3 with Unity 5.4.0p1 and didn't work. Monodevelop just doesn't open when I try to open/edit a script.

     
  19. tylerecouture

    tylerecouture

    Joined:
    Oct 17, 2015
    Posts:
    6
    These didn't work either =(

     
  20. reizibarrientos

    reizibarrientos

    Joined:
    Nov 10, 2016
    Posts:
    4
    Hey I have encountered the same problem too
     

    Attached Files:

    • help.png
      help.png
      File size:
      137.1 KB
      Views:
      1,491
  21. Paladin_Ramos

    Paladin_Ramos

    Joined:
    May 28, 2014
    Posts:
    8
    Thank you obben!
    I have been using Unity and mono on mint for a while now, it worked perfectly. Problems started when i decided to update my Mint and did a fresh install.
    I initially managed to get it working using sumauma solution.
    Another problem for mono not opening, occurred after I used bleachbit, on Mint 17.3, and obben solution worked.

    So a big thank you to both.
     
  22. boxhallowed

    boxhallowed

    Joined:
    Mar 31, 2015
    Posts:
    513
    Hell yes.
     
  23. joehurdle

    joehurdle

    Joined:
    Mar 16, 2017
    Posts:
    1
    Thanks! This worked on Linux Mint 18.1...
     
  24. rootPL

    rootPL

    Joined:
    Sep 5, 2015
    Posts:
    14
    Mint 18.1 just do one
    sudo apt-get install monodevelop

    And then work without setting anything else
     
  25. MaliceRock

    MaliceRock

    Joined:
    May 4, 2017
    Posts:
    2
    If anyone has the same problem on Gentoo, you need to run this:

    emerge -a gtk-sharp gnome-sharp

    after installing these and restarting the Unity, MonoDevelop should work.
     
  26. billboll

    billboll

    Joined:
    Aug 7, 2017
    Posts:
    1
    This helped me. I am now using my favorite editor TextPad. Monodevelop took a long time to start and I did not see an advantage to using it.
     
  27. scrivi

    scrivi

    Joined:
    Sep 12, 2017
    Posts:
    7
    Code (Boo):
    1. sudo apt-get install  gtk-sharp2 gnome-sharp2
    for ubuntu 16.04
    then fix the Preferences external editor
    however this pulls in a lot of mono dependecies outside unity