I can't build in WebGL

The errors:

Failed running D:\unity\Editors Folder Location\2019.1.11f1\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --dotnetprofile=“unityaot” --compile-cpp --libil2cpp-static --platform=“WebGL” --architecture=“EmscriptenJavaScript” --configuration=“Release” --outputpath=“D:\שולחן העבודה\Ben\פיתוח משחקים\קורס יוניטי בדו-מימד\Number Wizard UI\Assets /…/Temp/StagingArea/Data\Native\build.bc” – and helluva more

Exception: D:\unity\Editors Folder Location\2019.1.11f1\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130) and more and more

Build completed with a result of ‘Failed’
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

There should be some additional information in the Editor.log file after this with more detailed error messages. Can you provide that information?

What is the Editor.log and how to reach it?

Check out the details about the Editor.log file here: https://docs.unity3d.com/Manual/LogFiles.html

https://ufile.io/vfuz5dmw

Thanks! The error seems to come from the Emscripten C++ compiler:

No mapping for the Unicode character exists in the target multi-byte code page.

Can you try to move the project to a location with only ASCII characters in the path? I suspect the non-ASCII characters are causing some problem here.

I did it now, and the same errors accured
The path that I used is: DATA (d:) < This Computer

Maybe try using the US-English locale on this computer, if that is not the current locale. Sometimes these tools have problem with certain locales.

Your project path has hebrew characters:
"D:\שולחן העבודה\Ben\פיתוח משחקים\קורס יוניטי בדו-מימד\Number Wizard UI"

In my case it was Handheld.Vibrate(); causing the error in script. It will throw an error when building for webgl.