- Home /
Can I run a Unity project from within MonoDevelop?
Sorry, as this probably has been asked a million times already, but can't find an answer.
I wan't to run a Unity project as a normal (exe) project from within MonoDevelop, without even having Unity environment started. I want to see how the code that actually starts the application looks like, so I can tweak things like resolution, scene etc. programmatically, and not using the GUI.
Any help MUCH appreciated.
Do you mean the Unity debugger? I don't think that this is possible whithout Unity itself running.
Good Luck!
$$anonymous$$
Sadly no, I got the debugger working etc., but I mean to use Unity just like any other library that you can import in your project and use as you see fit. I guess Unity is too complex to do that, but I am sure it must be possible, though it looks like there is no documentation to show how and it probably is way too hard to figure out on my own.
Answer by whydoidoit · Feb 23, 2014 at 06:56 PM
Build your executable in debug mode.
In MonoDevelop Use Run > Debug Application... and choose the .exe file (or Mac equivalent).
That is great, but now it says "Program ... does not contain a static $$anonymous$$ain method" so obviously I need to add some code to make that happen, and so I am back to my original query what this code is?
Really damn. So perhaps not for startup - but you can Attach To when it's running (maybe a bit too late for you).
Your answer