WebGL Build doesn't work

Hello all,

When i try to build a WebGL for my unity project nothing happens.
I have to click "build"and then select a folder where to save. After that nothing happens and Unity doesn’t build the project at all.

How can i fix this?

I’ve got the error:

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.HostView:OnGUI()

Can you post the actual errors thrown before this one from the editor log? The error message you posted is not very helpful.

That is the actual error i get. I dont know where the actual error is at otherwise??
and this:

  • Assets/_SimpleMultiplayerKit/Scripts/PlayerSync.cs(18,2): error CS0246: The type or namespace name `NetworkView’ could not be found. Are you missing an assembly reference?

  • Assets/_SimpleMultiplayerKit/Scripts/GameManager/NetworkManager.cs(214,33): error CS0246: The type or namespace name `NetworkDisconnection’ could not be found. Are you missing an assembly reference?

So does it work when you fix the namespaces/assemblies?

I’m a beginner with Unity and i don’t understand what to do here actually