Opening script in mono develop, Unity 3.5

I am trying to upgrade to Unity 3.5. My project seems to upgrade (yes I backed it up) properly with no errors. If i double click on any script in my project now, it seems to fail to load into mono-develop. The same thing happens to scripts that were just part of standard assets that I had imported (before the conversion). I can edit these files outside of mono-develop, but without mono-develop I cant debug which i need desperately. This doesnt seem to happen with scripts from angry bots, that came with 3.5. I tried a reinstall of 3.5 but that did not help. The error i get looks like so:

Could not open file: C:\MyCode\UnityProjects\AR_Renderer_Unity\Assets\Standard Assets\Character Controllers\Sources\Scripts\CharacterMotor.js.

System.TypeInitializationException: The type initializer for 'NGit.Util.FS' threw an exception. ---> System.ArgumentException: Illegal characters in path.

   at System.IO.Path.CheckInvalidPathChars(String path)

   at System.IO.Path.Combine(String path1, String path2)

   at Sharpen.FilePath..ctor(String other, String child) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\Sharpen\Sharpen\FilePath.cs:line 30

   at NGit.Util.FS.SearchPath(String path, String[] lookFor) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 279

   at NGit.Util.FS_Win32_Cygwin.IsCygwin() in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Util\FS_Win32_Cygwin.cs:line 62

   at NGit.Util.FS.Detect(Nullable`1 cygwinUsed) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 99

   at NGit.Util.FS.Detect() in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 67

   at NGit.Util.FS..cctor() in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 60

   --- End of inner exception stack trace ---

   at NGit.BaseRepositoryBuilder`2.SetupWorkTree() in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit\BaseRepositoryBuilder.cs:line 753

   at NGit.BaseRepositoryBuilder`2.Setup() in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit\BaseRepositoryBuilder.cs:line 679

   at NGit.Storage.File.FileRepository..ctor(FilePath gitDir) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Storage.File\FileRepository.cs:line 111

   at NGit.Storage.File.FileRepository..ctor(String gitDir) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\contrib\NGit\NGit.Storage.File\FileRepository.cs:line 127

   at MonoDevelop.VersionControl.Git.LocalGitRepository..ctor(String path) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl.Git\MonoDevelop.VersionControl.Git\GitRepository.cs:line 1478

   at MonoDevelop.VersionControl.Git.GitRepository..ctor(FilePath path, String url) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl.Git\MonoDevelop.VersionControl.Git\GitRepository.cs:line 71

   at MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference(FilePath path, String id) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl.Git\MonoDevelop.VersionControl.Git\GitVersionControl.cs:line 61

   at MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference(String path, String id) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl\MonoDevelop.VersionControl\VersionControlService.cs:line 199

   at MonoDevelop.VersionControl.VersionControlService.GetRepository(IWorkspaceObject entry) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl\MonoDevelop.VersionControl\VersionControlService.cs:line 185

   at MonoDevelop.VersionControl.Views.SubviewAttachmentHandler.AttachViewContents(Document document) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl\MonoDevelop.VersionControl.Views\SubviewAttachmentHandler.cs:line 47

   at MonoDevelop.VersionControl.Views.SubviewAttachmentHandler.HandleDocumentOpened(Object sender, DocumentEventArgs e) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl\MonoDevelop.VersionControl.Views\SubviewAttachmentHandler.cs:line 71

   at MonoDevelop.Ide.Gui.Workbench.OnDocumentOpened(DocumentEventArgs e) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 988

   at MonoDevelop.Ide.Gui.Workbench.WrapDocument(IWorkbenchWindow window) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 577

   at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor(IWorkbenchWindow window) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\ViewCommandHandlers.cs:line 49

   at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor(DefaultWorkbench workbench, IViewContent content, Notebook tabControl, TabLabel tabLabel) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\SdiWorkspaceWindow.cs:line 98

   at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView(IViewContent content, Boolean bringToFront) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\DefaultWorkbench.cs:line 381

   at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke(String fileName) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 1093

   at MonoDevelop.Ide.Gui.Workbench.RealOpenFile(FileOpenInformation openFileInfo) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 772

   at MonoDevelop.Ide.Gui.Workbench.OpenDocument(FilePath fileName, Int32 line, Int32 column, OpenDocumentOptions options, String encoding, IViewDisplayBinding binding) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 390

   at MonoDevelop.Ide.Gui.Workbench.OpenDocument(FilePath fileName, Int32 line, Int32 column, OpenDocumentOptions options) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 331

   at MonoDevelop.Ide.IdeApp.<>c__DisplayClassf.<OpenFiles>b__b(Object , WorkspaceItemEventArgs ) in c:\BuildAgent\work\6b3beae2de4b9011\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:line 323

I am also noticing that all the assets in my converted projects no longer have a.meta file associated with them. I had turned on external source control (because i have everything checked into a git repository), that caused the creation of these meta files. But the no longer exist in my converted project.

Please help, Im desperate, if it cant be corrected i need to go back to 3.4.2, but how do I do that?

Thx,

Ryan

In case anyone comes across this problem again. Tried many things before I found what seemed to work. Exporting everything as a unity package and reimporting into a new project seem to correct this issue.

A number of issues have crept up when using 3.5 in addition to this one, that forced be to revert back to 3.4.2 regardless.

This is what happens if your project is in a Git repository. Windows+Git+MonoDevelop is a lethal combination. To fix this, go into MonoDevelop → Tools → Add-in Manager → Version Control - and then disable Git support.