• 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
Question by awesomeaustin316 · Apr 06, 2012 at 12:18 AM · errorplayergamebuilding

My game wont start after i click a button

I built a test game to see if my menu would work, and it doesn't. I tried it in the preview window inside the editor and it worked perfectly. When i build though, this is what happens. I click on the exe, it brings up the configuration window, i click play, it brings up my menu, now if i click start or credits or anything, it automatically stops the game. doesnt even give me an error so i can search it up. is it a problem with my builder option? or is it a problem with my scripts? im using unity 3.4.2 . If there is anymore info needed ill provide it.

Comment

People who like this

0 Show 3
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 simonmc · Apr 06, 2012 at 12:32 AM 0
Share

find the output_log file located in the data directory adjacent to your exe. Any erros should show up in there

avatar image awesomeaustin316 · Apr 06, 2012 at 01:33 AM 0
Share

I looked through it, its like this.

(Filename: Line: -1)

Exit Game UnityEngine.Debug:Internal_Log(Int32, String, Object) UnityEngine.Debug:Log(Object) UnityEngine.MonoBehaviour:print(Object) ExitGame:Update()

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 34)

thats just one line. but most of it is just that back and forth. so is it my scripts?

avatar image simonmc · Apr 06, 2012 at 01:34 AM 0
Share

That's Debug.Log() output from your ExitGame scripts Update method.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by FlameOn · Apr 06, 2012 at 04:14 AM

It's not this hard people, hopefully you do not have to rebuild your menu, I advise you to you might have done something wrong here is one of the most helpful menu videos in the world http://www.youtube.com/watch?v=yjCEGIVj84Q&feature=fvwrel Done. But, I would suggest get the newest version of unity.

Comment

People who like this

0 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 awesomeaustin316 · Apr 06, 2012 at 04:20 AM 0
Share

alrighty then. i will look at the video. the only reason i asked is because it worked in the editor., then i built it and thats when it stopped working.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

error with footsteps script 1 Answer

C# Script issue with Player 1 Answer

i get errors but i have no idea why 0 Answers

System.Net.Sockets are not supported 1 Answer

Apk file isn't building?,Apk file isn't buliding 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