Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 arn.zhan · Aug 30, 2011 at 11:06 AM · c#monodeveloptypeloadexception

Monodevelop can not open file

Hi guys,

Today I opened my unity, double clicked a script file in 'Project' tab inside the editor, and Monodevelop cames out. This is all as usual, except that monodevelop says "Could not open file" and here is the detail:

System.TypeLoadException: Could not load type 'Boo.MonoDevelop.Completion.BooEditorCompletion' from assembly 'Boo.MonoDevelop, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 at System.Activator.CreateInstance (System.Type type) [0x00000] in :0 at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] in /Users/levi/Code/unity/mono-addins/Mono.Addins/Mono.Addins/TypeExtensionNode.cs:93 at MonoDevelop.Ide.Gui.Document.OnDocumentAttached () [0x0007b] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:513 at MonoDevelop.Ide.Gui.Workbench.WrapDocument (IWorkbenchWindow window) [0x0004f] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:594 at MonoDevelop.Ide.Gui.ViewCommandHandlers..ctor (IWorkbenchWindow window) [0x0000d] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:49 at MonoDevelop.Ide.Gui.SdiWorkspaceWindow..ctor (MonoDevelop.Ide.Gui.DefaultWorkbench workbench, IViewContent content, Gtk.Notebook tabControl, MonoDevelop.Components.TabLabel tabLabel) [0x000d2] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:90 at MonoDevelop.Ide.Gui.DefaultWorkbench.ShowView (IViewContent content, Boolean bringToFront) [0x00113] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:380 at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x0019b] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1042 at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (MonoDevelop.Ide.Gui.FileOpenInformation openFileInfo) [0x0034b] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:747 at MonoDevelop.Ide.Gui.Workbench.OpenDocument (FilePath fileName, Int32 line, Int32 column, Boolean bringToFront, System.String encoding, IDisplayBinding binding, Boolean highlightCaretLine) [0x001ba] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:406 at MonoDevelop.Ide.Gui.Workbench.OpenDocument (FilePath fileName, Int32 line, Int32 column, Boolean bringToFront, System.String encoding, IDisplayBinding binding) [0x00000] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:351 at MonoDevelop.Ide.Gui.Workbench.OpenDocument (FilePath fileName, Int32 line, Int32 column, Boolean bringToFront) [0x00000] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:331 at MonoDevelop.Ide.IdeApp.OpenFiles (IEnumerable`1 files) [0x001a8] in /BuildAgent/work/93beeebf637645f/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:326 I've tried another project but the same problem. I think there is something wrong with my monodevelop, maybe I didn't quit it in the right way last night. anyone have any idea?
Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Waz · Aug 30, 2011 at 11:19 AM

I suggest you reinstall (eg. via Unity reinstall). Seems you lost some files. Might be a good time to check your backups are in order too...

Comment
Add comment · Show 1 · 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
avatar image arn.zhan · Aug 31, 2011 at 07:39 AM 0
Share

Thanks Warwick!

avatar image
0

Answer by DanMarionette · Aug 30, 2011 at 11:25 AM

I'm not sure what's actually happening but I'd just try and eliminate possible issues. 1. Have you tried creating/saving/loading a file using MonoDevelop alone in a new project? 2. Try opening the files your having trouble with in a text editor like notepad++ or your favourite text editor to see if the files are damaged. Re-save them and see if they open in MonoDevelop then.(unlikely to be the issue though by what you've said) 3. You should also just try reinstalling MonoDevelop.

I know these are basic things but it's worth getting through them before spending hours banging your head against the wall if its something simple.

Comment
Add comment · Show 1 · 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
avatar image arn.zhan · Aug 31, 2011 at 07:39 AM 0
Share

I tried 1&2 before I post the question here, sorry I should make it more clear. and reinstall fixed the problem. Thanks Dan. PS: Warwick answered first and he was right too.

avatar image
0

Answer by Corn.du · Dec 30, 2011 at 08:32 PM

I got the same problem as arn.zhan today when I started Unity and tried to open a script. I get exactly the same error as arn.zhan. I can't open any file in Monodevelop but it works in other programs. I've tried making a new project with new scripts, but the same error. I've also tried to uninstall Unity and then install it again. But nothing seems to work.

Does anyone have any suggestions on what to do to fix the problem?

Comment
Add comment · Show 3 · 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
avatar image kost · Jan 18, 2012 at 03:51 AM 0
Share

Same problem.

avatar image chrisizzzo · Feb 28, 2012 at 12:26 AM 0
Share

I have the same problem as well. I uninstalled Unity(3.4) and reinstalled it. Attempted to open up a script in the example project and the error similar to the original poster's appeared on the screen.

avatar image chrisizzzo · Feb 28, 2012 at 12:54 AM 0
Share

Update: I downloaded the latest Unity 3.5 and installed it. Everything appears to be working correctly. I am able to open up scripts without any errors.

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

10 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

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Making a bubble level (not a game but work tool) 1 Answer

Why can't I edit C# script although I have monodevelop installed? PLEASE HELP 1 Answer

Automatic caching in Mono? 0 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