Roll a Ball Tutorial Build Question

I have completed the tutorial and the game runs. I can pick up the balls and the You Win text appears.
When I try and build the .app file, it never appears on my hard drive and it seems that if I pull up the console, it shows errors on build. See below for one of them.

When opened in Mono, the scripts appear fine and seem to run without error.

I tried other builds, including webgl. When I did, it hung the machine and I had to reboot the mac. I couldn’t even use the task manager to force quit.

How can I troubleshoot this and build the first game?

UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:162
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:83
UnityEditor.HostView:OnGUI()

You have to look at (and fix) the errors that appear in the Console. What you pasted above, unfortunately, is not one of the useful ones; this just reiterates that there were errors.

Also, if I were you, I would back up and try a new, trivial project. Trivial as in, contains no code or objects — just a brand-spanking new project, with one empty scene. Can you build that?

Ok. Worked on things for a bit. I had just for some odd reason, mapped the tutorial file to a box shared folder. I dont think it was having luck writing to that drive, or working from it for that matter.

I moved the folder to a folder in my documents area, and was able to complete a build ( and run the game full screen ).

I have a few questions on how to keep going but I am getting familiar with things.

One … odd thing to me is how Unity treats its saved projects. It seems to seach for or remember them once opened. I removed a few folders. It would be nice to be able to right click on that first opening UI panel and quickly navigate to the folder it is mapped to. I had a mess there but cleaned it up.

Thank you for looking at this. In the process I also first setup a “New Unity Project” folder next to this one and test built an app before moving the project folder I was working from, just to know it worked. Which it did.

1 Like