Search Unity

5.6.0b3 webgl builds no longer build.

Discussion in '5.6 Beta' started by wikmanyo, Dec 26, 2016.

  1. wikmanyo

    wikmanyo

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

    stdout:
    Building build.bc with EmscriptenToolChain.
    Output directory: C:\Users\delgi\Documents\JustBandit\Temp\StagingArea\Data\Native
    Cache directory: C:\Users\delgi\Documents\JustBandit\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)<---

    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)
     
  2. J-F

    J-F

    Joined:
    Nov 8, 2012
    Posts:
    101
    Just noticed this too.
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,797
    This should be fixed in the upcoming Beta.