Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 5.3.4 WebGL crash (tons of errors) on build ?

Discussion in 'WebGL' started by MCPC10, Mar 16, 2016.

  1. MCPC10

    MCPC10

    Joined:
    Mar 4, 2014
    Posts:
    4
    When I build for windows it works fine but when I build for WebGL it crash always. (10 Errors)
    I have reinstall Unity and start it as admin, nothing works.

    Sorry for my english I'm belgian and speaking german :)

    System:

    Windows 10
    Amd FX-8350
    Nvidia GTX 980

    Thanks

    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" -Oz -std=c++11 -Wno-unused-value -Wno-invalid-offsetof -I-I"C:/Users/Name/Documents/Unity/tictactoe_webgl/Assets/../Temp/StagingArea/Data\Libraries\bdwgc/include" -I"C:/Users/Name/Documents/Unity/tictactoe_webgl/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include" -I"C:/Users/Name/Documents/Unity/tictactoe_webgl/Assets/../Temp/StagingArea/Data\il2cppOutput" -nostdinc -c @"C:\Users\Name\AppData\Local\Temp\tmp391d3a7c.tmp"

    Exception: IL2CPP compile failed.
    NativeCompiler.RunProgram (System.Diagnostics.ProcessStartInfo startInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:62)
    NativeCompiler.Execute (System.String arguments, System.String compilerPath) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
    UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.LinkObjects (IEnumerable`1 sources, System.String outfile) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:57)
    UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.MultiThreadedCompile (System.String outfile, IEnumerable`1 sources, IEnumerable`1 includePaths, Boolean exceptionSupport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:44)
    UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CompileDynamicLibrary (System.String outFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:21)
    UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:135)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:301)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    There is a WebGL subforum which might be more appropriate to post this.

    Does your username/path has non-ascii characters in it? If so the build will fail due to a bug on our end which we are currently fixing.

    If not please send a bug report with a repro project and ping the case number in this thread.
     
  3. MCPC10

    MCPC10

    Joined:
    Mar 4, 2014
    Posts:
    4
    Thanks, My name is 'Mike' and how can I made a bug report with repro ? :)
     
  4. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    MCPC10 likes this.
  5. MCPC10

    MCPC10

    Joined:
    Mar 4, 2014
    Posts:
    4
  6. MCPC10

    MCPC10

    Joined:
    Mar 4, 2014
    Posts:
    4
    So I have done what had been advised in a support email but nothing has helped (all Paths are there, Python was installed (and I have tested when it is uninstallt)and I have created a new Profile) I don't know what the problem is. :(