Search Unity

When building for WebGL the output folder is empty

Discussion in 'WebGL' started by phlp, Oct 22, 2016.

  1. phlp

    phlp

    Joined:
    May 26, 2016
    Posts:
    8
    hey there,

    after creating a working build for os x and windows i'm trying to build my game as WebGL. unfortunatly the output folder is empty, no matter what settings i choose.

    im running the newest unity-version (5.4.1f1 Personal) on os x (10.12). because i read something about how WebGL might be using Xcode i also installed Xcode.

    is this a known problem? i didn't find a solution to this problem while i was searching for the last two days.

    i already created a new project, but i have the same problem while building for WebGL.

    thanks in advance
    philipp
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    Hi,
    you could check the editor.log for hints about what went wrong, or you can post it here.
     
  3. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    Hi
    I have the exact same problem, building for WebGl leaves the output folder empty
    The error in Console is something like: "Editor\Data\il2cpp/build/il2cpp.exe did not run properly!"
    Any idea how to solve this?
    Thanks
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    could you attach the entire editor.log ?
     
  5. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    Here it is attached, I renamed it to Editor.txt because it wouldn't allow me to upload .log file (not allowed extension)
    The last action I did was try to build for WebGL, and the error occurred.
    Is this enough?

    Thanks
     

    Attached Files:

  6. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    Any news on this?
    Thx
     
  7. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    It's not clear what went wrong. Could you try with a newer version of Unity?

    what I noticed is that it's building using python from C:\GitStack. What version is that?
     
    Last edited: Nov 17, 2016
  8. ivank

    ivank

    Joined:
    Nov 16, 2013
    Posts:
    41
    I believe I have experienced the same problem (Win 7 64bit and a version of Unity 5.4).
    I have found the following:
    - if I build into the folder which is *outside* of the Unity project folder, it does not build anything.
    - if I create a folder *inside* the Unity project folder, the WebGL builds ok.
    If I recall it correctly, this problem appeared after installation of one of the patches...

    Sorry for vague description/specification, I am quite a while out of my "Unity PC" and thus can not check for exact data...
     
  9. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    I think what you are describing is a bug we fixed recently in a patch, however, I am not sure it's the same problem.
     
  10. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    439
    Hello. I'm having the same problem (empty folder).

    Windows 10, 64 bit.
    Unity 5.4.3.f1 Personal.

    Any idea when this will be fixed?
     
  11. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    Have you tried the latest patch?
     
  12. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    439
    Thank you for the suggestion.
    Installed Patch 5.4.2p4. Makes no difference.
     
  13. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    I installed the beta version 5.5 and it works now - that solved the problem for me.
    I guess in my case it must have had something to do with the GitStack I installed recently...
     
  14. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    439
    Installed 5.5.0f3. The WebGL output folder is still empty. Any suggestions?
     
  15. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    Are you using Facebook SDK?
     
  16. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    439
    No. Should I?
     
  17. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    No, unless you need to :)
     
  18. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    Any error in the Editor Log? Could you post it here?
     
  19. zharko

    zharko

    Joined:
    Jan 25, 2015
    Posts:
    21
    :)
    the reason I asked about facebook SDK is that I encountered the empty output directoy problem when trying to compile the "getting started" example on facebook unity webgl - there's problem with iOS specific directories there...

    but if you're not using facebook SDK then something else causes the problem for you
     
  20. username132323232

    username132323232

    Joined:
    Dec 9, 2014
    Posts:
    439
    Yes, I looked closely at the log and found an exception from il2cpp.exe. Removing one of the assets downloaded from the Asset Store fixed the problem. Thank you for pointing me in the right direction!
     
  21. pli41

    pli41

    Joined:
    Dec 16, 2016
    Posts:
    1
    For me, the problem was the Strip Engine Code function under Editor->Player->Other Settings.
     
  22. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    The build should not fail when StripEngineCode is enabled. Do you have an Editor log?
    Any chance you could submit a bug report?
     
  23. SylvesterAHansen

    SylvesterAHansen

    Joined:
    Jun 3, 2015
    Posts:
    1
    I had the same problem and disengaging the "Strip Engine Code function" under Editor->Player->Other Settings helped me out as well. I am working with unity 5.5.0 by the way
     
  24. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    The build should not fail when StripEngineCode is enabled. Do you have an Editor log?
    Any chance you could submit a bug report?
     
  25. vjb

    vjb

    Joined:
    Nov 15, 2013
    Posts:
    6
    I'm having a similar problem with WebGL 5.6 beta 3. It just won't complete the build with many different settings. Tried switching from .net 2.0 subset to .net 2.0. I also tried with stripped engine code and without.

    Failed running D:\Unity5.6B\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --compile-cpp --libil2cpp-static --platform="WebGL" --architecture="EmscriptenJavaScript" --configuration="Release" --outputpath="D:\development\CMI\Assets /../Temp/StagingArea/Data\Native\build.bc" --cachedirectory="D:\development\CMI\Assets\..\Library/il2cpp_cache" --compiler-flags="-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AIModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AnimationModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AudioModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ClothModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CloudWebServicesModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CoreModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CrashReportingModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_FacebookModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_IMGUIModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_JSONSerializeModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ParticlesLegacyModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ParticleSystemModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PerformanceReportingModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_Physics2DModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PhysicsModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextRenderingModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UmbraModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UNETModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityAdsModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityConnectModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VehiclesModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VideoModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VRModule_Dynamic.bc" --additional-libraries="D:\Unity5.6B\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_WebModule_Dynamic.bc" --map-file-parser="D:\Unity5.6B\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="D:\development\CMI\Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll" --assembly="D:\development\CMI\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" --assembly="D:\development\CMI\Temp\StagingArea\Data\Managed\UnityEngine.UI.dll" --assembly="D:\development\CMI\Temp\StagingArea\Data\Managed\UnityEngine.dll" --generatedcppdir="D:\development\CMI\Temp\StagingArea\Data\il2cppOutput"

    stdout:
    Building build.bc with EmscriptenToolChain.
    Output directory: D:\development\CMI\Temp\StagingArea\Data\Native
    Cache directory: D:\development\CMI\Library\il2cpp_cache
    il2cpp.exe didn't catch exception: System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[] data, Func`2 action)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at Unity.IL2CPP.Building.Statistics.BuildingTestRunnerHelper.BuildAndLogStatsForTestRunner(CppProgramBuilder builder, IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    ---> (Inner Exception #0) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #1) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #2) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #3) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #4) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #5) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #6) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    ---> (Inner Exception #7) System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)<---

    stderr:

    Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'Unity.IL2CPP.Building.ToolChains.EmscriptenPaths' threw an exception. ---> System.NotSupportedException: Need Unity source to use node
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_NodeExecutable()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths..cctor()
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python()
    at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor(NPath sourceFile)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildIntermediateObjectFileData(CppCompilationInstruction cppCompilationInstruction)
    at Unity.IL2CPP.Building.ParallelFor.<RunWithResult>c__AnonStorey1`2.<>m__0(Object o)
    --- End of inner exception stack trace ---
    at Unity.IL2CPP.Building.ParallelFor.RunWithResult[D,T](D[] data, Func`2 action)
    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at Unity.IL2CPP.Building.Statistics.BuildingTestRunnerHelper.BuildAndLogStatsForTestRunner(CppProgramBuilder builder, IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)

    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:96)
    UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:314)
    UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:305)
    UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:152)
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41)
    UnityEditor.HostView:OnGUI()
     
  26. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    This is a different problem specific to 5.6 Beta 3. Beta 4 fixes that.
     
  27. TheMcGivvern

    TheMcGivvern

    Joined:
    Apr 3, 2013
    Posts:
    7
    Having the same problem. Built OK until my project went over the 1 GB thing
     
  28. TheMcGivvern

    TheMcGivvern

    Joined:
    Apr 3, 2013
    Posts:
    7
    I think a Check left over from old versions of Unity is causing this
     
  29. TheMcGivvern

    TheMcGivvern

    Joined:
    Apr 3, 2013
    Posts:
    7
    There are people waiting for a build, but empty folders don't make them
    happy
     
    jamesmacphail3 likes this.
  30. Darrylemoonman

    Darrylemoonman

    Joined:
    Feb 2, 2017
    Posts:
    4
    I fixed my Failed running C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe Errors by doing the following
    - Save/close project
    - Delete il2cpp_cache folder (eg. <ProjectName>/Library/il2cpp_cache) from project Library
    - Reopen project, build worked fine after that

    Hope this helps
    (PS. Only got these issues after switching from Android Build Platform to WebGL)
     
    CaptainSMan and RE7AN like this.
  31. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    20
    Same issue here, I deleted the Library and obj folder, switched platform back to WebGL, build -> nothing

    Unity 5.5.1p3

    Plugins:
    Facebook
    GameSparks
    Voxelbusters Ultra Pack
    Unity Ads
    Unity Analytics
    Chartboost

    Im using Unity Collaborate on the project, 3 different folders, ios, android and webgl with the repo in each.
     
  32. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    Could you attach your editor.log?
     
  33. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    20
    @Marco-Trivellato attached is the Editor.log file.

    Another issue, the console seems to automatically clear after a build, why would this be?
     

    Attached Files:

  34. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    This one seems to be the problem:

    Fatal error in Mono CIL Linker
    System.ArgumentException: Unable to find the file for the assembly named 'Facebook.Unity.Android' specified in link file '/Users/jacquesleemans/Documents/projects/cashual-entertainment/jackpot-stack/jackpot-stack-webgl/Jackpot Stack/Assets/link.xml'. Should this assembly be in the project? Use the 'ignoreIfMissing="1"' attribute if this assembly may not always exist. ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Facebook.Unity.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
     
  35. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    20
    Thanks @Marco-Trivellato!

    Solution was to change the link.xml file:
    ...
    <assembly fullname="Facebook.Unity.Android" ignoreIfMissing="1">
    <type fullname="Facebook.Unity.Android.*" preserve="all" />
    </assembly>
    ...
     
  36. Minemega_19

    Minemega_19

    Joined:
    Mar 5, 2015
    Posts:
    8
    I have the same bug with WEBGL on Unity 5.5.1p4 (Latest patch) Output folder is empty.
     
  37. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    20
    What plugins do you have in your project?
     
  38. mikaelwallen

    mikaelwallen

    Joined:
    Jun 3, 2016
    Posts:
    48
    Just mentioning in case in helps someone that I had a similar issue yesterday. WebGL output folder was empty. I found out it was cause by syntax errors in a .jslib plugin I used. So you might want to check if you are using any plugins in Assets/Plugins/WebGL and if the code they contain is valid using a lint tool for example.
     
  39. barha15

    barha15

    Joined:
    Jan 19, 2017
    Posts:
    5
    I have the same problem,
    Exception: /Applications/Unity/Unity.app/Contents/il2cpp/build/il2cpp.exe did not run properly!
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:98)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1 arguments, System.Action`1 setupStartInfo, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:281)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:272)
    UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:126)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:39)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:560)
    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, UnityEditor.BuildReporting.BuildReport report) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:186)
    UnityEditor.HostView:OnGUI()

    Any suggestions?
     
  40. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    please attach entire editor log
     
  41. Vaell

    Vaell

    Joined:
    Apr 3, 2017
    Posts:
    1
    Hey,
    Having same problem... any suggestions or solutions? Log;
     

    Attached Files:

  42. rafael_galindo

    rafael_galindo

    Joined:
    Jun 30, 2016
    Posts:
    5
    I'm trying to build a WebGL project with 5.6. I seems to finish correctly, however only these files/folders are created:
    index.html
    /TemplateData
    /Build

    No Release folder is created, I verified and the Development Build is not checked off.

    On 5.3 is working perfectly. I migrated one project from 5.3 to 5.6 and getting this issue. Creating a new project on 5.6 has the same issue.

    Any ideas what can be the issue? Thanks in advance.
     
  43. Minemega_19

    Minemega_19

    Joined:
    Mar 5, 2015
    Posts:
    8
    I have the same Issue.
     
  44. barha15

    barha15

    Joined:
    Jan 19, 2017
    Posts:
    5
    Same issue here on 5.6 with unity for OSX
     
  45. Minemega_19

    Minemega_19

    Joined:
    Mar 5, 2015
    Posts:
    8
    This problem persists for everyone, it would be necessary that the unity developers investigates this bug.
     
  46. Fullyworked

    Fullyworked

    Joined:
    Oct 29, 2016
    Posts:
    1
    I had the same problem. No 'release' folder. I think the 'build' folder has replaced it.
    I'm using a windows server 2012 with IIS.

    I placed the following code in a web.config file in the 'build' folder and everything is working for me. Hopefully it will work for some of you.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <staticContent>
    <remove fileExtension=".mem" />
    <remove fileExtension=".data" />
    <remove fileExtension=".unity3d" />
    <remove fileExtension=".jsbr" />
    <remove fileExtension=".membr" />
    <remove fileExtension=".databr" />
    <remove fileExtension=".unity3dbr" />
    <remove fileExtension=".jsgz" />
    <remove fileExtension=".memgz" />
    <remove fileExtension=".datagz" />
    <remove fileExtension=".unity3dgz" />
    <remove fileExtension=".unityweb" />
    <remove fileExtension=".json" />
    <mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".data" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".unity3d" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".jsbr" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".membr" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".databr" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".unity3dbr" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".jsgz" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".memgz" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".datagz" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".unity3dgz" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".unityweb" mimeType="application/octet-stream" />
    <mimeMap fileExtension=".json" mimeType="application/json" />
    </staticContent>
    <rewrite>
    <rules>
    <rule name="Append br suffix to WebGL content requests">
    <match url="(.*)\.(js|data|mem|unity3d)$" />
    <conditions>
    <add input="{HTTP_ACCEPT_ENCODING}" pattern="br" />
    <add input="{REQUEST_FILENAME}br" matchType="IsFile" />
    </conditions>
    <action type="Rewrite" url="{R:1}.{R:2}br" />
    </rule>
    <rule name="Append gz suffix to WebGL content requests">
    <match url="(.*)\.(js|data|mem|unity3d)$" />
    <conditions>
    <add input="{HTTP_ACCEPT_ENCODING}" pattern="gzip" />
    <add input="{REQUEST_FILENAME}gz" matchType="IsFile" />
    </conditions>
    <action type="Rewrite" url="{R:1}.{R:2}gz" />
    </rule>
    </rules>
    <outboundRules>
    <rule name="Append br Content-Encoding header to the rewritten responses">
    <match serverVariable="RESPONSE_Content-Encoding" pattern=".*" />
    <conditions>
    <add input="{REQUEST_FILENAME}" pattern="\.(js|data|mem|unity3d)br$" />
    </conditions>
    <action type="Rewrite" value="br" />
    </rule>
    <rule name="Append gzip Content-Encoding header to the rewritten responses">
    <match serverVariable="RESPONSE_Content-Encoding" pattern=".*" />
    <conditions>
    <add input="{REQUEST_FILENAME}" pattern="\.(js|data|mem|unity3d)gz$" />
    </conditions>
    <action type="Rewrite" value="gzip" />
    </rule>
    </outboundRules>
    </rewrite>
    </system.webServer>
    </configuration>
     
  47. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    AS of 5.6, we have a unified directory structure. No more Development/Release.
     
  48. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,653
    I think the build fails because of the non-ansi character in the unity project path.
     
  49. Weblox

    Weblox

    Joined:
    Apr 11, 2016
    Posts:
    256
    Hi @Marco-Trivellato ,

    I'm a Beginner in Unity and experience the same issues (empty folder) on Unity 5.5.1f. Not sure how to get the Editor log file but I'm hoping for a fix also... ;)
     
  50. MikePanoff

    MikePanoff

    Joined:
    Apr 29, 2015
    Posts:
    18
    I am unable to build WebGL on both a Windows 7 64-bit and Windows 10 64-bit PC. The same project does build correctly however from a Mac. Unity 5.6.1f1

    One error appears to be complaining about my python libraries:
    AttributeError: 'module' object has no attribute 'openssl_md_meth_names'

    Here is the error log from the build console:

    Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:98)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1 arguments, System.Action`1 setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:313)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:304)
    UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:151)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean debugBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41)
    UnityEditor.WebGL.WebGlBuildPostprocessor.CompileBuild (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:343)
    UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:871)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, 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, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:186)
    UnityEditor.HostView:OnGUI()


    Failed running C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --development-mode --compile-cpp --libil2cpp-static --platform="WebGL" --architecture="EmscriptenJavaScript" --configuration="Debug" --outputpath="C:\src\aj\ctg\Assets /../Temp/StagingArea/Data\Native\build.bc" --cachedirectory="C:\src\aj\ctg\Assets\..\Library/il2cpp_cache" --compiler-flags="-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_AIModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_AnimationModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_AudioModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_ClothModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_CloudWebServicesModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_CoreModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_CrashReportingModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_FacebookModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_IMGUIModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_InputModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_JSONSerializeModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_ParticlesLegacyModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_ParticleSystemModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_PerformanceReportingModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_Physics2DModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_PhysicsModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_TerrainModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_TextRenderingModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UIModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UmbraModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UNETModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UnityAdsModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UnityConnectModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_UnityWebRequestModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_VehiclesModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_VideoModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_VRModule_Dynamic.bc" --additional-libraries="C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_development\WebGLSupport_WebModule_Dynamic.bc" --map-file-parser="C:\Program Files\Unity\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --assembly="C:\src\aj\ctg\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" --assembly="C:\src\aj\ctg\Temp\StagingArea\Data\Managed\UnityEngine.UI.dll" --assembly="C:\src\aj\ctg\Temp\StagingArea\Data\Managed\UnityEngine.dll" --generatedcppdir="C:\src\aj\ctg\Temp\StagingArea\Data\il2cppOutput"

    stdout:
    Building build.bc with EmscriptenToolChain.
    Output directory: C:\src\aj\ctg\Temp\StagingArea\Data\Native
    Cache directory: C:\src\aj\ctg\Library\il2cpp_cache
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: Traceback (most recent call last):
    File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\em++", line 6, in <module>
    from tools.toolchain_profiler import ToolchainProfiler
    File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\toolchain_profiler.py", line 1, in <module>
    import subprocess, os, time, sys, tempfile
    File "C:\Python27\Lib\tempfile.py", line 35, in <module>
    from random import Random as _Random
    File "C:\Python27\Lib\random.py", line 49, in <module>
    import hashlib as _hashlib
    File "C:\Python27\Lib\hashlib.py", line 138, in <module>
    _hashlib.openssl_md_meth_names)
    AttributeError: 'module' object has no attribute 'openssl_md_meth_names'


    Invocation was: Executable: "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe"
    Arguments: "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\em++" -Wno-unused-value -Wno-invalid-offsetof -nostdinc -fno-strict-overflow -std=c++11 -O1 -g0 -Oz -DIL2CPP_EXCEPTION_DISABLED=1 -DIL2CPP_DEVELOPMENT=1 -I"C:\Program Files\Unity\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Editor\Data\il2cpp\external\boehmgc\include" -I"C:\src\aj\ctg\Temp\StagingArea\Data\il2cppOutput" "C:\src\aj\ctg\Temp\StagingArea\Data\il2cppOutput\Bulk_System.Xml_1.cpp" -o "C:\src\aj\ctg\Library\il2cpp_cache\290613DC9CF3896A53A261A85425C36A.o"

    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at Unity.IL2CPP.Building.Statistics.BuildingTestRunnerHelper.BuildAndLogStatsForTestRunner(CppProgramBuilder builder, IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    stderr:

    Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: Traceback (most recent call last):
    File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\em++", line 6, in <module>
    from tools.toolchain_profiler import ToolchainProfiler
    File "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\toolchain_profiler.py", line 1, in <module>
    import subprocess, os, time, sys, tempfile
    File "C:\Python27\Lib\tempfile.py", line 35, in <module>
    from random import Random as _Random
    File "C:\Python27\Lib\random.py", line 49, in <module>
    import hashlib as _hashlib
    File "C:\Python27\Lib\hashlib.py", line 138, in <module>
    _hashlib.openssl_md_meth_names)
    AttributeError: 'module' object has no attribute 'openssl_md_meth_names'


    Invocation was: Executable: "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe"
    Arguments: "C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\em++" -Wno-unused-value -Wno-invalid-offsetof -nostdinc -fno-strict-overflow -std=c++11 -O1 -g0 -Oz -DIL2CPP_EXCEPTION_DISABLED=1 -DIL2CPP_DEVELOPMENT=1 -I"C:\Program Files\Unity\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Editor\Data\il2cpp\external\boehmgc\include" -I"C:\src\aj\ctg\Temp\StagingArea\Data\il2cppOutput" "C:\src\aj\ctg\Temp\StagingArea\Data\il2cppOutput\Bulk_System.Xml_1.cpp" -o "C:\src\aj\ctg\Library\il2cpp_cache\290613DC9CF3896A53A261A85425C36A.o"

    at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at Unity.IL2CPP.Building.Statistics.BuildingTestRunnerHelper.BuildAndLogStatsForTestRunner(CppProgramBuilder builder, IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)

    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:96)
    UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:313)
    UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:304)
    UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:151)
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41)
    UnityEditor.HostView:OnGUI()
     
    Last edited: May 20, 2017