• 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
3
Question by StephanK · Sep 07, 2010 at 10:23 PM · monodevelopunitron

Unity 3 and MonoDevelop (keeps opening unitron)

I am trying to setup Unity 3 + MonoDevelop. I selected the MonoDevelop beta build as external script editor and synced a MonoDevelop project. If I double click on a script it Unity opens MonoDevelop, but not the project. It also always opens Unitron as well. If I double click on a line in the console it jumps to the correct line in Unitron but doesn't do so in MonoDevelop. This is quite frustrating as it seems to work on my colleagues Mac. I'm on Mac and using Unity3.0b7 (editor and monodevelop). Is there anything else I'll need to do before this works?

EDIT:
These are the log file that MonoDevelop produces when opening it from Unity: http://pastebin.com/1grDrREZ And if MonoDevelop is already open and has the correct project loaded: http://pastebin.com/1004MhFi

I don't know if that's the problem, but exceptions are never good...

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

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Ricardo · Sep 10, 2010 at 07:57 AM

There shouldn't be any other setting, and it works for me on OSX. As recent as Beta 6 someone made a reference on the beta list to similar behavior and Unity forgetting that setting. I'd recommend you record some video of the problem, including you having set it to MonoDevelop, and file a bug.

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 StephanK · Sep 11, 2010 at 10:08 AM 0
Share

The setting is correct. It also DOES open $$anonymous$$onoDevelop, just not the solution. If the solution is already open it jumps to the correct file, but not the line.

avatar image
1

Answer by MSylvia · Sep 14, 2010 at 09:08 PM

Have you tried re downloading and installing the version that comes with Unity3b7? I would try that.

After setting it to your default editor in Unity, delete all MonoDevelop related files in your project directory and run "Sync MonoDevelop Project" under the assets tab.

Hopefully rebuilding a fresh MonoDevelop peoject will fix it. Also check the MonoDevelop logs to see what happens after doing so.

Comment
Add comment · Show 7 · 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 StephanK · Sep 15, 2010 at 09:32 AM 0
Share

It already is that version. I tried deleting and syncing the project files multiple times. The $$anonymous$$onoDevelop logs report an exception (GdkPixbuf-Critical: gdk_pixbuf_composite: assertion `dest_x >= 0 && dest_x + dest_width width' failed) but that happens everytime $$anonymous$$onoDevelop starts up and doesn't seem to be unity specific, although it might f*** up the process somehow.

avatar image MSylvia · Sep 15, 2010 at 06:25 PM 0
Share

Since your on a mac you could try installing AppTrap http://onnati.net/apptrap/ and then remove monodevelop. It will try and clear any files associated with $$anonymous$$onoDevelop. Then try a reinstall.

avatar image MSylvia · Sep 15, 2010 at 06:33 PM 0
Share

Could you post the whole log file somewhere like http://pastebin.com/? It would be easier to diagnose seeing the whole log.

avatar image StephanK · Sep 16, 2010 at 07:31 AM 0
Share

This is the log file when $$anonymous$$onoDevelop is already open and the project is loaded: http://pastebin.com/1004$$anonymous$$hFi Looks like there is also something wrong with the versioning module.

avatar image StephanK · Sep 16, 2010 at 07:33 AM 0
Share

And this is the log file after starting $$anonymous$$onoDevelop from Unity. http://pastebin.com/1grDrREZ

Show more comments
avatar image
-1

Answer by Tak · Sep 13, 2010 at 07:56 AM

What's the name of the local copy of your MonoDevelop app?

Comment
Add comment · Show 6 · 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 · Sep 13, 2010 at 08:01 AM 0
Share

You should comment followup questions to the original question - this is not an answer!

avatar image StephanK · Sep 13, 2010 at 09:03 AM 0
Share

Name is $$anonymous$$onoDevelop-Unity. The version is the one from the beta7 download site.

avatar image Tak · Sep 13, 2010 at 09:31 AM 0
Share

It's $$anonymous$$onoDevelop-Unity.app with that capitalization?

avatar image StephanK · Sep 13, 2010 at 11:28 AM 0
Share

Sorry, the app is named "$$anonymous$$onoDevelop", the folder containing the settings was named $$anonymous$$onoDevelop-Unity.

avatar image Tak · Sep 14, 2010 at 11:37 AM 0
Share

Ok, so it's $$anonymous$$onoDevelop.app with that capitalization?

Show more comments
avatar image
0

Answer by jashan · Sep 10, 2010 at 04:32 PM

I'm experiencing similar behavior when MonoDevelop takes too long to start up (which happens not that frequently on my machine but sometimes, it does). It seems that Unity has some sort of timeout when it falls back to opening Unitron as it knows Unitron is always there (and starts quite quickly ;-) ).

Also, when MonoDevelop then finally starts, the project isn't opened.

However, when I already have MonoDevelop open when double clicking in Unity, everything works quite smoothly. So maybe that'll also do it for you?

EDIT: Hm ... while I can't reproduce your problem, I have an idea what might possibly solve it: You might have to delete the MonoDevelop-Cache. You'll find that in

/Users/<YourUserName>/.config/MonoDevelop-Unity

What I just did was open the terminal, and then

cd .config/
mv MonoDevelop-Unity MonoDevelop-UnityBackup

(you could probably do the same in the finder but I think the finder doesn't automatically display ".*"-files.)

Maybe that fixes your issue (and if not, you can easily revert).

Comment
Add comment · Show 5 · 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 StephanK · Sep 10, 2010 at 10:05 PM 0
Share

IF the project is already open it does open the correct file, but it doesn't jump to the correct line. Looking at the $$anonymous$$onoDevelop log file i can see that it throws an exception at startup. (GdkPixbuf-Critical: gdk_pixbuf_composite: assertion `dest_x >= 0 && dest_x + dest_width width' failed ) $$anonymous$$aybe that is part of my problem? Or do you get the same?

avatar image jashan · Sep 11, 2010 at 12:34 PM 0
Share

Ah, interesting. I'm getting the same exception during $$anonymous$$onoDevelop startup. I guess that's worth filing a bug report. When $$anonymous$$onoDevelop is not open and I double click a file, $$anonymous$$onoDevelop opens, with the right solution but doesn't open the correct file. However, once $$anonymous$$onoDevelop is open, double click a file works smoothly, and so does clicking a message linked to a code-file in the console.

avatar image jashan · Sep 11, 2010 at 12:40 PM 0
Share

Hm ... I tried to get that exception away and remembered that sometimes you need to delete the $$anonymous$$onoDevelop cache. I've edited my answer with an explanation how that can be done. Hope that helps!?

avatar image StephanK · Sep 12, 2010 at 09:32 AM 0
Share

I just tried deleting it. The exception is still there and the behaviour the same.

avatar image gl33mer · Dec 20, 2010 at 09:48 AM 0
Share

I'm getting a similar problem. If I double click a script inside Unity - it opens both Unitron and $$anonymous$$onodevelop (but only unitron opens the file itself). In monodevelop I have to search manually for the Synched project file.

Any ideas?

avatar image
0

Answer by Bampf · Sep 18, 2010 at 09:31 PM

I've been watching this question with some interest, as I recently started getting the same behavior.

I finally fixed it by removing all but one version of MonoDevelop from my hard-drive (I even emptied the trash.) Then I put the last copy in Applications- this worked! Then I realized what had occurred. MonoDevelop used to be a separate download, and I originally put it in my Applications folder. For the latest download it was included in the Unity folder, and I left it there without telling Unity the new location.

So make sure the latest version of MonoDevelop is where Unity expects it, wherever you browsed to it originally. Or better yet, go back to the Unity Preferences menu and point it to the new location in the Unity folder (which is where new versions are going to be from now on.)

If that doesn't fix it, you may need to remove any other versions from your hard drive and empty the trash.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Can't sync Monodevelop project (Mac OSX 10.6.8)[CLOSED] 1 Answer

Version control and Monodevelop 1 Answer

Monodevelop not opening in Unity 4.3 16 Answers

Monodevelop in 4.3.1 not working (OSX 10.9) 2 Answers

Cannot type quotation marks in MonoDevelop 1 Answer


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