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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

IL2CPP build problem

Discussion in '2020.1 Beta' started by Nifflas, May 18, 2020.

  1. Nifflas

    Nifflas

    Joined:
    Jun 13, 2013
    Posts:
    117
    Since I updated to 2020.1.0b8 I've been unable to build using IL2CPP. It worked with earlier versions of the 2020.1 alphas and betas.

    This is the error I get. I think I pasted the relevant part (let me know if I should paste the full thing)

    Failed running C:\Program Files\Unity\Hub\Editor\2020.1.0b8\Editor\Data\il2cpp/build/deploy/netcoreapp3.0/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x64" --configuration="Release" --outputpath="C:\Nifflas\SVN\Ynglet\trunk\Ynglet\Temp/StagingArea/Data\Native\GameAssembly.dll" --cachedirectory="C:\Nifflas\SVN\Ynglet\trunk\Ynglet\Assets\..\Library/il2cpp_cache" --baselib-directory="C:/Program Files/Unity/Hub/Editor/2020.1.0b8/Editor/Data/PlaybackEngines/WindowsStandaloneSupport\Variations\win64_nondevelopment_il2cpp" --avoid-dynamic-library-copy --incremental-g-c-time-slice=3 --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2020.1.0b8/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=C:/Nifflas/SVN/Ynglet/trunk/Ynglet/Temp/StagingArea/Data/Managed --generatedcppdir=C:/Nifflas/SVN/Ynglet/trunk/Ynglet/Temp/StagingArea/Data/il2cppOutput

    stdout:
    Running il2cpp.exe in server GC mode.
    Building GameAssembly.dll with MsvcDesktopToolChain
    Msvc Install Version: 15.0
    Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
    Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\link.exe
    Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\cl.exe

    Output directory: C:\Nifflas\SVN\Ynglet\trunk\Ynglet\Temp\StagingArea\Data\Native
    Cache directory: C:\Nifflas\SVN\Ynglet\trunk\Ynglet\Library\il2cpp_cache
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: pch-c.c
    C:\Program Files\Unity\Hub\Editor\2020.1.0b8\Editor\Data\il2cpp\libil2cpp\il2cpp-config.h(3): fatal error C1083: Cannot open include file: 'string.h': No such file or directory
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    9,877
    Can you paste the full output? Did you recently change anything related to your Visual Studio or Windows SDK installation?
     
  3. stefan_s_from_h

    stefan_s_from_h

    Joined:
    Nov 26, 2017
    Posts:
    72
    I removed Visual Studio 2017 (community) completely and installed Visual Studio 2019 (community). Only the absolute necessary components.

    Same error as above by Nifflas in May.

    I suspect there's one component missing. "Windows Universal C-Runtime" or "Windows Universal CRT SDK" isn't it.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    9,877
    "Windows Universal C-Runtime" is needed I believe. That should have gotten installed with the C++ workload, though.
     
    futurlab_peterh and Rowlan like this.
  5. stefan_s_from_h

    stefan_s_from_h

    Joined:
    Nov 26, 2017
    Posts:
    72
    C++ workload.

    ARGH!! :(

    Well, of course. Who would forget to install the C++ workload? This would be foolish.

    It's working now. Thanks.
     
    Erethan and Rowlan like this.
  6. himanshu20020615

    himanshu20020615

    Joined:
    Mar 27, 2021
    Posts:
    3
    Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram="C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe"

    stdout:
    error: Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable.Append(System.Collections.Generic.IEnumerable`1<!!0>, !!0)'. (System.MissingMethodException)
    at Bee.Core.DynamicLoader.GetAllTypesInAssemblies
    at Bee.Core.DynamicLoader.FindAndCreateInstanceOfEachInAllAssemblies
    at Bee.StandaloneBeeDriver..cctor
    at Bee.StandaloneBeeDriver.RealMain
    at Bee.StandaloneBeeDriver.Main
    stderr:

    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.Run () (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  7. himanshu20020615

    himanshu20020615

    Joined:
    Mar 27, 2021
    Posts:
    3
    please help i am getting such error while building my project.


    Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram="C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe"

    stdout:
    error: Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable.Append(System.Collections.Generic.IEnumerable`1<!!0>, !!0)'. (System.MissingMethodException)
    at Bee.Core.DynamicLoader.GetAllTypesInAssemblies
    at Bee.Core.DynamicLoader.FindAndCreateInstanceOfEachInAllAssemblies
    at Bee.StandaloneBeeDriver..cctor
    at Bee.StandaloneBeeDriver.RealMain
    at Bee.StandaloneBeeDriver.Main
    stderr:

    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.Run () (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  8. himanshu20020615

    himanshu20020615

    Joined:
    Mar 27, 2021
    Posts:
    3
    please help i am getting such error while building my project.


    Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram="C:\Program Files\Unity\Hub\Editor\2020.3.11f1\2020.3.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe"

    stdout:
    error: Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable.Append(System.Collections.Generic.IEnumerable`1<!!0>, !!0)'. (System.MissingMethodException)
    at Bee.Core.DynamicLoader.GetAllTypesInAssemblies
    at Bee.Core.DynamicLoader.FindAndCreateInstanceOfEachInAllAssemblies
    at Bee.StandaloneBeeDriver..cctor
    at Bee.StandaloneBeeDriver.RealMain
    at Bee.StandaloneBeeDriver.Main
    stderr:

    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPBuilder.Run () (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <c8b3b39837d14a59b516963b78bf9032>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  9. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,289
    Please try to only post your question once. It looks like the same post was made three times to this thread!

    I believe this occurs because you may not have the latest .NET Framework version installed on this computer. Please download and install .NET Framework 4.8 from Microsoft.
     
    futurlab_peterh likes this.
  10. ciphercodersgames

    ciphercodersgames

    Joined:
    Aug 23, 2021
    Posts:
    1
    can some one help me to solve this.


    Failed running C:\Program Files\Unity\Hub\Editor\2021.1.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --no-colors --prebuiltbuildprogram="C:\Program Files\Unity\Hub\Editor\2021.1.18f1\Editor\Data\il2cpp/build/BeeSettings/offline/artifacts/buildprogram/buildprogram.exe"
     
  11. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,289
    Can you please provide more details about the error message? There should be additional information in the Editor log file.
     
  12. RashedAbuodeh

    RashedAbuodeh

    Joined:
    Sep 10, 2020
    Posts:
    1
    I have this error can someone Help me ?

    Exception: Unity.IL2CPP.Building.BuilderFailedException: "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" -o "C:\Unity Projects\Projets\JusooorProject\Library\il2cpp_cache\linkresult_085AD4DCAE916A4D0DDDD23C6DB6F98B\build.bc" -s TOTAL_MEMORY=384MB -s DISABLE_EXCEPTION_CATCHING=0 -s WASM=0 -O3 "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AccessibilityModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AndroidJNIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AnimationModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AssetBundleModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AudioModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ClothModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CoreModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CrashReportingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_DirectorModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_DSPGraphModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_GameCenterModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_GIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_GridModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_HotReloadModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ImageConversionModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_IMGUIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputLegacyModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_JSONSerializeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_LocalizationModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ParticleSystemModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PerformanceReportingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_Physics2DModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PhysicsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ProfilerModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_RuntimeInitializeOnLoadManagerInitializerModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ScreenCaptureModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SharedInternalsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteMaskModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteShapeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_StreamingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubstanceModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubsystemsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextCoreModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextRenderingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TilemapModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TLSModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIElementsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIElementsNativeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UmbraModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UNETModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityConnectModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityCurlModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityTestProtocolModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAssetBundleModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestTextureModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestWWWModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VehiclesModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VFXModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VideoModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VRModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_WebGLModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_WindModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_XRModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\Variations\nondevelopment\baselib.bc" @"C:\Users\Home\AppData\Local\Temp\_1931385627\response.rsp"

    Wrote crash dump file "C:\Users\Home\AppData\Local\Temp\llvm-link.exe-5c7579.dmp"
    0x00007FF9F7AB4F69 (0x00000D98876BC8F2 0x00000245985AA9E0 0x0000000000000008 0x00007FF9F7FD39CE), RaiseException() + 0x69 bytes(s)
    0x00007FF9DF3B6480 (0x0000000000000000 0x0000000000200000 0x0000000004000000 0x0000000000200000), _CxxThrowException() + 0x90 bytes(s)
    0x00007FF675B6EE87 (0x0000000004000000 0x0000000000100000 0x000000EA6B98F428 0x00000245ADD7B730)
    0x00007FF675B6DF1D (0x000000EA6B98F428 0x0000024500000000 0x000000EA6B98F428 0x00000245AFE386B0)
    0x00007FF675A764BB (0x000000EA6B98F428 0x000000EA6B98F390 0x00000245AD36B328 0x00000245B00CFF80)
    0x00007FF675A2A8C4 (0x000000EA6B98F428 0x00000245E5A26DC0 0x00000245E5A26DC0 0x00000245B05DD450)
    0x00007FF6759DF324 (0x0000000000180000 0x0000000000000000 0x00000245E5E560B8 0x00000245E5E560B8)
    0x00007FF6759E1C07 (0x00000245E5F15C68 0x00000245E5F15C80 0x00000245E5E09770 0x00000245E5F132E8)
    0x00007FF6759E1A83 (0x000000EA6B98F428 0x00000245E5E09770 0x00000245D5BC25E8 0x00000245E5E09718)
    0x00007FF6759E289A (0x000000EA6B98F4E8 0x00000245D5BC25B0 0x00000245D5B90000 0x000000EA6B98F579)
    0x00007FF6759DD8AA (0x000000EA6B98FB68 0x00007FF675995A04 0x000000EA6B98F6E0 0x0000000000000F29)
    0x00007FF6759C4AEF (0x000000EA6B98F6E0 0x0000000000000001 0x00000245D5BC25B0 0x0000000300000000)
    0x00007FF6759D3E13 (0x000000EA6B98FD08 0x000000EA6B98FAD0 0x000000EA6B98FD08 0x00000245D5BBE968)
    0x00007FF6759C618B (0x00000245D5B9C290 0x00000245D5BC25B0 0x0000000000000002 0x000000EA6B98FCE0)
    0x00007FF67598E180 (0x0000000000000000 0x0000000000000000 0x00007FF9F80C1248 0x00007FF9F80C07A8)
    0x00007FF675B6E799 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
    0x00007FF9F9DE7034 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
    0x00007FF9FA1A2651 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
    Traceback (most recent call last):
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 3063, in <module>
    sys.exit(run())
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 1607, in run
    shared.Building.link(linker_inputs, specified_target)
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\shared.py", line 2114, in link
    output = run_process([LLVM_LINK] + link_args + ['-o', target], stdout=PIPE).stdout
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\shared.py", line 167, in run_process
    return run_base(cmd, universal_newlines=universal_newlines, check=check, *args, **kw)
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\shared.py", line 162, in run_base
    result.check_returncode()
    File "C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\shared.py", line 148, in check_returncode
    raise Py2CalledProcessError(returncode=self.returncode, cmd=self.args, output=self.stdout, stderr=self.stderr)
    tools.shared.Py2CalledProcessError: Command '['C:/Program Files/Unity/Hub/Editor/2020.3.18f1/Unity/Editor/Data/PlaybackEngines/WebGLSupport\\BuildTools\\Emscripten_FastComp_Win\\llvm-link.exe', '@C:\\Users\\Home\\AppData\\Local\\Temp\\tmpbdibxn.response', '-o', 'C:\\Unity Projects\\Projets\\JusooorProject\\Library\\il2cpp_cache\\linkresult_085AD4DCAE916A4D0DDDD23C6DB6F98B\\build.bc']' returned non-zero exit status -529697949


    at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Compilation.CompilationDriver.Run(RuntimePlatform platform, BuildingOptions buildingOptions, ReadOnlyCollection`1 matchedAssemblyMethodSourceFiles)
    at il2cpp.Program.DoRun(String[] args, RuntimePlatform platform, BuildingOptions buildingOptions, Boolean throwExceptions)
    UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
    UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at
     
  13. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,289
    Here it looks like the linker in Emscripten is crashing. I'm not sure about the cause. If possible, maybe try a newer version of Unity, which might use a newer version of Emscripten that might not have this problem. But I'm not sure.