Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

5.3.1f1 Monodevelop does not start, creates a dead process (Solved: not a unity bug)

Discussion in 'Linux' started by markt1964, Jan 9, 2016.

  1. markt1964

    markt1964

    Joined:
    Aug 30, 2011
    Posts:
    83
    Using the latest version available as of me writing this, if I double-click on a C# file or try to explicitly open it nothing appears to happen. However, the process list shows an additional process started up, with command details showing up as "[bash] <defunct>". Each time I try to open a C# file, an additional process shows up in the process list, each with command details showing as "[bash] <defunct>".

    Setting the preferences for external tools to refer explicitly to the monodevelop path does not change the behavior.

    Update: I just noticed the following line in Editor.log that comes up when I try to open a script. The information may be relevant:

    System.TypeInitializationException: The type initializer for 'MonoDevelop.Core.LoggingService' threw an exception. ---> System.InvalidCastException: Specified cast is not valid.

    Update: Apparently, my mono installation is bad.... even the system monodevelop is giving me the same error. I will fix my mono installation and hopefully that will fix the issue
     
    Last edited: Jan 9, 2016
  2. markt1964

    markt1964

    Joined:
    Aug 30, 2011
    Posts:
    83
    Okay, this is not a bug in Unity, as I initially thought. Apparently, a recent update to mono broke my mono installation, and the config files needed to be recreated. Deleting the entire /etc/mono folder and reinstalling the mono package made it work. Everything is working fine now.