- Home /
Unity hangs when attached to MonoDevelop
Most of the time, if I have MonoDevelop attached to Unity, and hit "Play" in Unity, Unity will just end up hanging. Every once in a blue moon, it won't, and the game will actually play. I've double checked and I have NO breakpoints set in MonoDevelop.
The same happens if I try to attach to Unity once it is playing. So either attaching before or after I hit play, it hangs.
OSX 10.8.4 Unity 4.3.0f4 MonoDevelop 4.0.1
I have to force quite Unity, and sometimes Mono (it hangs far less often).
Answer by Hotshot10101 · Nov 29, 2013 at 08:56 PM
I know this is not a final answer, but a work around. I was researching this same problem and came across this post where someone was trying to port MD 4.0 to be used with Unity:
http://www.cliffordroche.ca/monodevelop-4-xamarin-studio-debugging-in-unity/
You can read about half way down where they talk about it not working well with Unity 4.x. They mention that if you Play your scene BEFORE you attach MD for debugging and then detach BEFORE you stop playing then it doesn't hang Unity. I found this to work.
It is a major pain in the butt, but at least you can debug.
I hope they fix the root problem soon.