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
1
Question by timnev2k · Feb 22, 2014 at 05:39 PM · monodevelopstandalone

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.

Comment
Add comment · Show 2
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 alexanderameye · Feb 22, 2014 at 08:01 PM 0
Share

Do you mean the Unity debugger? I don't think that this is possible whithout Unity itself running.

Good Luck!

$$anonymous$$

avatar image timnev2k · Feb 23, 2014 at 06:42 PM 0
Share

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.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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).

Comment
Add comment · Show 2 · 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 timnev2k · Feb 26, 2014 at 12:46 AM 0
Share

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?

avatar image whydoidoit · Feb 26, 2014 at 01:41 PM 0
Share

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

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

21 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

Problems changing from standalone to iOS 0 Answers

after upgrading to Unity 4.1.5, MonoDevelop doesn't load 0 Answers

Compiler crash! Restarted and Still Same Error! 0 Answers

It keeps saying Internal Compiler error. See console log for details. What do I do? 0 Answers

When I am using Unity and I want to write a java script i try to open monodevelop but it quits, I am using a mac version 10.8, what should I do? 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