Cant build my game, help!

I have been creating a game for 3 and half months, and now that i have finished it, it wont let me build it. Please Help!
Errors that pop up in the console:

Building to the Assets folder is not allowed.

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

You need to click File → Build Settings… → Build and run, then in the dialog where you choose where to create the exe file choose any folder that’s OUTSIDE of your Asset folder. Because just like the error says you can’t build the game into the games asset folder.

1 Like

Thanks so much!

2 Likes