Problem with webgl building
Hello, I have problem with building webgl, it crashes at building native inary with IL2CPP, than I recieve 5 errors and in the target folder I have nothing...no webgl file :/. Can someone help please? Thanks, Honza
errors:
1)Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"C:\Users\User\DOCUME~1\UNITYP~1\KESTOH~1\Assets..\Temp\emcc_arguments.resp"
stdout: stderr:ERROR:root:C:\Users\User\Documents\unity projekty\Křest ohněm\Temp\StagingArea\Data\Native\build.bc: No such file or directory ("C:\Users\User\Documents\unity projekty\Křest ohněm\Temp\StagingArea\Data\Native\build.bc" was expected to be an input file, based on the commandline arguments provided) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
2) Exception: Failed building WebGL Player. UnityEditor.WebGL.ProgramUtils.StartProgramChecked (System.Diagnostics.ProcessStartInfo p) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/ProgramUtils.cs:48) UnityEditor.WebGL.WebGlBuildPostprocessor.EmscriptenLink (BuildPostProcessArgs args, Boolean wasmBuild, System.String sourceFiles, System.String sourceFilesHash) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:408) UnityEditor.WebGL.WebGlBuildPostprocessor.LinkBuild (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:451) UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:916) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:272) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 3) Error building Player: 3 errors 4) Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 5) UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
You are using: WebGL: Interacting with browser scripting?
@milanrehor123 Did you find the solution to this problem ? Two years out I am still facing the same issue. Please let me know
Your answer
Follow this Question
Related Questions
WebGL Build doesn't fully load on Github Pages 0 Answers
"Unable to decode audio data" in webgl build 0 Answers
[WebGL 2.0] Texture2DArray support? 1 Answer
WebGl on mobile safari Unhandled Promise Rejection: Error: PERMISSION_DENIED 0 Answers
Puzzling rare exception in WebGL: ArgumentOutOfRangeException 0 Answers