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. Dismiss Notice

New scripts read-only in Monodevelop after installing Unity 5.3

Discussion in 'Editor & General Support' started by mpraxxius, Dec 12, 2015.

  1. mpraxxius

    mpraxxius

    Joined:
    Jan 14, 2014
    Posts:
    3
    Heya,

    Incredibly frustrating issue - any new scripts I create in Unity 5.3, when opening in MonoDevelop, are now read only. I can load an editing any existing scripts without issue, but created scripts just will not allow any alteration.

    Unsure if this is a Unity issue, a Monodevelop issue, or some unholy combination. Any help would be appreciated.
     
  2. mpraxxius

    mpraxxius

    Joined:
    Jan 14, 2014
    Posts:
    3
    Further info:

    Old scripts loaded in MonoDevelop, when opened, have a lovely "Source, Changes, Blame, Log, Merge" available on the bottom. New scripts don't bring up this menu, which obviously means that MonoDevelop is treating them differently, but I just can't figure out how.

    Source/Changes implies version control, but I sure as heck never enabled it...
     
  3. mpraxxius

    mpraxxius

    Joined:
    Jan 14, 2014
    Posts:
    3
    Found it - it was version control.

    The updates to MonoDevelop that occurred as part of the Unity installation automagically enabled Git and Subversion integration for the project. Any files that were not part of the repository could not be edited and were handled as read only.

    Solved by going to Tools -> Add-in Manager, then down to the Version Control section, and disabled both of the available add-ins.

    Leaving solution here in case anyone else runs into this fantastic problem.
     
  4. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    If you are using any version control system then commit the new blank script first, don't just disable Git/SVN. Then it should be editable. Worked for me with SVN.
     
  5. kromenak

    kromenak

    Joined:
    Feb 9, 2011
    Posts:
    266
    Whew, thanks for the fix! Frankly, I have no desire to use Monodevelop for any version control purposes - I just need it to type text, highlight keywords, and autocomplete.
     
  6. sandeepsmartest

    sandeepsmartest

    Joined:
    Nov 7, 2012
    Posts:
    137
    Yeah!! It is working... :)
     
  7. _creatio_

    _creatio_

    Joined:
    Mar 21, 2013
    Posts:
    43
    Oh God, thank you for people that share their findings!
    Thank you too mpraxxius !!! :)
    In my case Tools menu was all disable, so I disabled the version control by right clicking on my solution name -> Version control -> Disable both to hell...