- Home /
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.
find the output_log file located in the data directory adjacent to your exe. Any erros should show up in there
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?
That's Debug.Log() output from your ExitGame scripts Update method.
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.
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.