Game doesn't build?

Hello,

When trying to build my game, it starts to build, but then Unity freezes. I have tried closing Unity and opening it but the problem persists. I am quite sure I have had this problem in the past but cannot remember how to fix it. Any help is greatly appreciated. Thanks.

Do you have any errors in the console or log file? Could there be a dialog box hidden behind the editor waiting for input?

It gets stuck when doing the different jobs, when it builds the game.

Can you share the editor log?

Here is what it freezes at, as shown in the image. I think sometimes it differs though.

3256593--250922--Issue.PNG

Can you share the log file? http://docs.unity3d.com/Manual/LogFiles.html

It is attached.

3256598--250923--Issue1.PNG

Thats not a log file. Please see this link, it tells you where to find the log file. It is a text file that contains a lot more information. http://docs.unity3d.com/Manual/LogFiles.html

Is it the, “Assembly-CSharp-Editor”?

3256628--250925--log.gif

Ah ok. What part do you want an image of?

Just upload both the log files here. You can attach files to a forum post.

I can’t open the file location in a folder for some reason. I don’t have that option.

You probably just have a different text editor. Do File/Save-As and it should give you the location of the file. Then navigate to that directory and grab the 2 files. This link also tells you where to find the files http://docs.unity3d.com/Manual/LogFiles.html

I do that but it doesn’t show any files in the location. I will probably have to download another program for it.

You should not need to do that.
Assuming you have Windows 10 the log file will be at:
C:\Users<username>\AppData\Local\Unity\Editor

Read this, it tells you exactly where the log files are Unity - Manual: Log files

I did do that. I went to my username but then could not find anything named AppData within it.

I will probably update my version of Unity, as I may be using a version which is causing the issue.

AppData is a hidden folder. You can change settings to display hidden files/folders, or you can navigate there in the command prompt which might be easier. From a command prompt in C:\Users<username>\ you would just type:

cd AppData\Local\Unity\Editor

Then open that folder in Windows Explorer with:

explorer .

Note the space followed by the period “.” which tells explorer to open the folder you are in.

1 Like