How to build a unity project (2D,WebGL)

Hi,
this is my first time building a unity game (2D, WebGL).
I’m new to this, so I have no idea even when given instructions. The instructions start with “, create a Build folder in the same folder as the Assets folder for your game.”

What does this mean? I know I can’t build by directly selecting the assets folder. Does this mean that I have to copy and paste the stuff from the assets folder into the new folder and build from there, or is that not it?

I created a new folder in my unity project folder and built it and received the following error:

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in :0

Hi @YooOwnIt ,

I think that the tutorial that you’re following is just suggesting to create an empty folder in the root path of your project.

However this is optional, you can deploy your build in whatever location you want, by choosing the path on the Unity’s building process.

You can find more information about it here: Unity - Manual: Build Settings

Good luck with it!

No, the build fails with the same error. I tried putting a folder in the same unity project folder and also tried building in a separate folder that’s in my desktop.

I went to Assets > Reimport All and it gives the same error.

I’ve also started a new unity project and manually imported my stuff all over and it still gives the same error.

Do I have to reinstall unity all over again or is there a simpler solution? my guess is there is something wrong with my unity itself

the version I’m using is 2019 3.15f

Would you mind to post the entire log in where the description of the errors appears?

This will help us to understand what it’s exactly happening in order to help you better.

Thanks!