Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Moohasha · Jul 07, 2013 at 10:27 PM · crashmonodevelopmono

MonoDevelop 2.8.2 Crash

I installed Unity 4.1.5f1 yesterday which came with MonoDevelop 2.8.2 (on Windows 7). In my Unity project I created a new C# script and double clicked on it to open it. MonoDevelop opened and then immediately crashed with the following error:

 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, Boolean checkAdditional)
 
    at System.IO.Path.Combine(String path1, String path2)
 
    at Sharpen.FilePath..ctor(String other, String child) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\Sharpen\Sharpen\FilePath.cs:line 30
 
    at NGit.Util.FS.SearchPath(String path, String[] lookFor) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 279
 
    at NGit.Util.FS_Win32_Cygwin.IsCygwin() in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Util\FS_Win32_Cygwin.cs:line 62
 
    at NGit.Util.FS.Detect(Nullable`1 cygwinUsed) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 99
 
    at NGit.Util.FS.Detect() in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Util\FS.cs:line 67
 
    at NGit.Util.FS..cctor() in c:\BuildAgent\work\f07246b5212f7be4\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\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit\BaseRepositoryBuilder.cs:line 753
 
    at NGit.BaseRepositoryBuilder`2.Setup() in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit\BaseRepositoryBuilder.cs:line 679
 
    at NGit.Storage.File.FileRepository..ctor(FilePath gitDir) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Storage.File\FileRepository.cs:line 111
 
    at NGit.Storage.File.FileRepository..ctor(String gitDir) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\contrib\NGit\NGit.Storage.File\FileRepository.cs:line 127
 
    at MonoDevelop.VersionControl.Git.LocalGitRepository..ctor(String path) in c:\BuildAgent\work\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl.Git\MonoDevelop.VersionControl.Git\GitVersionControl.cs:line 61
 
    at MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference(FilePath path, String id) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl.Git\MonoDevelop.VersionControl.Git\GitVersionControl.cs:line 65
 
    at MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference(String path, String id) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\addins\VersionControl\MonoDevelop.VersionControl\MonoDevelop.VersionControl\VersionControlService.cs:line 199
 
    at MonoDevelop.VersionControl.VersionControlService.GetRepository(IWorkspaceObject entry) in c:\BuildAgent\work\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\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\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 331
 
    at MonoDevelop.Ide.IdeApp.<>c__DisplayClass10.<OpenFiles>b__d(Object , WorkspaceItemEventArgs ) in c:\BuildAgent\work\f07246b5212f7be4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:line 334

I get this error every time I try to open a script, so I'm basically stuck. I've searched for an answer to this, but the only suggestions I could find were from last year from people using Unity 3.5, and the consensus was to reinstall Unity/Mono. This is a fresh install of both on two separate computers, and the same thing is happening on both machines.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Moohasha · Jul 08, 2013 at 01:17 AM 0
Share

Update: If I open the solution file (.sln) in $$anonymous$$onoDevelop and then navigate to my script in the solution explorer, I don't get the error message, but the script also does not open.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by TheSleepyPenguin · Oct 25, 2013 at 04:20 AM

I get the same issue: MonoDevelop v2.8.2 crashes after a few seconds every time I open it on Windows 7. Fresh install of Unity 4.2.2f1.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Crashing on small number of Android Devices (can't load mono) 1 Answer

Unity crashes when executing a script onMouseDown 1 Answer

Monodevelop crash when I try to open a new c# file, created on unity. 2 Answers

Monodevelop Go to declaration bug 3 Answers

Unity won't start from command line 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges