Getting error on building in Webgl Unity
when I build my project in WebGL then I get these errors. please help me.
Exception: Unity.IL2CPP.Building.BuilderFailedException: "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" -o "C:\Unity_projects\kart\Library\il2cpp_cache\linkresult_70B9FED35ACF3825B4B190466A692B50\build.bc" -s TOTAL_MEMORY=384MB -s DISABLE_EXCEPTION_CATCHING=0 -s WASM=0 -O3 "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AccessibilityModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AndroidJNIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AnimationModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AssetBundleModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_AudioModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_ClothModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_CoreModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_CrashReportingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_DirectorModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_DSPGraphModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_GameCenterModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_GIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_GridModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_HotReloadModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_ImageConversionModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_IMGUIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_InputLegacyModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_InputModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_JSONSerializeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_LocalizationModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_ParticleSystemModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_PerformanceReportingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_Physics2DModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_PhysicsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_ProfilerModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_RuntimeInitializeOnLoadManagerInitializerModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_ScreenCaptureModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_SharedInternalsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_SpriteMaskModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_SpriteShapeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_StreamingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_SubstanceModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_SubsystemsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TerrainModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TextCoreModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TextRenderingModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TilemapModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_TLSModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UIElementsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UIElementsNativeModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UIModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UmbraModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UNETModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityConnectModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityCurlModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityTestProtocolModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityWebRequestAssetBundleModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityWebRequestModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityWebRequestTextureModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_UnityWebRequestWWWModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_VehiclesModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_VFXModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_VideoModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_VRModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_WebGLModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_WindModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules_optsize\WebGLSupport_XRModule_Dynamic.bc" "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\Variations\nondevelopment\baselib.bc" @"C:\Users\rahul\AppData\Local\Temp_750210795\response.rsp"
Wrote crash dump file "C:\Users\rahul\AppData\Local\Temp\llvm-link.exe-6dfed1.dmp" 0x00007FF940334F69 (0x0000CF5DCC4D0F42 0x00007FF700000000 0x0000000000000008 0x00007FF93FCD39CE), RaiseException() + 0x69 bytes(s) 0x00007FF93A154890 (0x0000000000000000 0x0000000000008000 0x0000000000400000 0x0000000000008000) 0x00007FF7F0E3EE87 (0x0000000000400000 0x00000093C978E628 0x00000093C978E6A8 0x000001AFA7986FA0) 0x00007FF7F0E3DF1D (0x000001AFA7986FA0 0x000001AFA7986FB0 0x000001AFA42536C0 0x000001AFACC27C58) 0x00007FF7F0D6A0CE (0x000001AF00010000 0x000001AF8EEE5600 0x0000009300000040 0x00000093C978F0F8) 0x00007FF7F0DBB585 (0x000001AFA7986F58 0x000001AFA42536C0 0x00000093C978F350 0x000001AFACC27C58) 0x00007FF7F0DBDA1B (0x000001AF85F2B8F0 0x00000093C978E9C0 0x000001AFACC27C48 0x00000093C978EA09) 0x00007FF7F0DBE890 (0x000001AF8C6D6A90 0x000001AF8EF1C280 0x000001AFACC27C70 0x00000093C978F350) 0x00007FF7F0DBE6E3 (0x000001AFA766BD78 0x000001AFA42536C0 0x00000093C978EC20 0x000001AFA42536C0) 0x00007FF7F0DBC15B (0x0000000000000002 0x000001AFA42536C0 0x000001AF8DD4E080 0x000001AFACF3D078) 0x00007FF7F0DBE080 (0x00000093C978EDF0 0x000001AF94D672E8 0x00000093C978EDF0 0x00000093C978F640) 0x00007FF7F0D6EA1E (0x00000093C978F2C0 0x0000000000000000 0x00000093C978F640 0x00000093C978F640) 0x00007FF7F0D6CEA5 (0x000001AFA9104118 0x0000000000000000 0x0000000000000000 0x000001AF85D1D8F8) 0x00007FF7F0D7107E (0x0000000000000000 0x00000093C978F600 0x0000000000000000 0x000001AF842F6DD0) 0x00007FF7F0D70487 (0x000001AF842F8B80 0x000001AF842C7D10 0x00000093C978F571 0x0000000000000000) 0x00007FF7F0C5D34D (0x000001AF842F6DD0 0x00000093C978F600 0x00000093C978F640 0x0000000000000000) 0x00007FF7F0C5DF8D (0x0000000000000000 0x0000000000000000 0x00007FF93FDC1248 0x00007FF93FDC07A8) 0x00007FF7F0E3E799 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) 0x00007FF940EB7034 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) 0x00007FF942602651 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000) Traceback (most recent call last): File "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc.py", line 3063, in sys.exit(run()) File "C:\Program Files\Unity\Hub\Editor\2020.3.1f1\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.1f1\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.1f1\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.1f1\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.1f1\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.1f1/Editor/Data/PlaybackEngines/WebGLSupport\\BuildTools\\Emscripten_FastComp_Win\\llvm-link.exe', '@C:\\Users\\rahul\\AppData\\Local\\Temp\\tmpdzbewf.response', '-o', 'C:\\Unity_projects\\kart\\Library\\il2cpp_cache\\linkresult_70B9FED35ACF3825B4B190466A692B50\\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 :0) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at :0) UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String generatedCppOutputDirectory) (at :0) UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.Boolean platformSupportsManagedDebugging) (at :0)
Your answer
![](https://koobas.hobune.stream/wayback/20220613050435im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
WEBGL Build Not Working! 0 Answers
[Problem] Unity 5.6.1f1 won't build to WebGL 0 Answers
Build WEBGL Error in Unity 2019.3.3f1 1 Answer
Error when building in WebGL: "UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors" 0 Answers
Unity 2020.3.28f1 webgl build failed on macos monterey 12.3 0 Answers