• 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
0
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
Add comment · 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.$$anonymous$$onoBehaviour: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
0
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
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 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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

Apk file isn't building?,Apk file isn't buliding 1 Answer

Building Error 0 Answers

System.Net.Sockets are not supported 1 Answer

error with footsteps script 1 Answer

C# Script issue with Player 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges