Cant build webgl empty project

I tried using 2021.3.19f and 2021.3.3 both empty builds I am getting the same error :
Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output: emcc2: error: ‘“C:/Program Files/Unity/Hub/Editor/2021.3.30f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/binaryen\bin\wasm-opt” --strip-dwarf --post-emscripten --no-exit-runtime -O3 --low-memory-unused --zero-filled-memory --strip-debug --strip-producers Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm -o Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.wasm --mvp-features’ failed (3221226505)

you need to look at the details

This is the whole error :
0x00007ff73bb2c3cd (Unity) StackWalker::GetCurrentCallstack 0x00007ff73bb32f89 (Unity) StackWalker::ShowCallstack 0x00007ff73cab5253 (Unity) GetStacktrace 0x00007ff73d16412d (Unity) DebugStringToFile 0x00007ff73ace5212 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x000001d20b76f093 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x000001d20b76efab (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ]) 0x000001d20b76ecf0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x000001d1bb6d7345 (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x000001d1bb6d71d3 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:smile:efaultResultProcessor (Bee.BeeDriver.NodeResult,bool,bool) 0x000001d1bb6d728b (Mono JIT Code) [BuildPostprocessor.cs:28] UnityEditor.WebGL.WebGlBuildPostprocessor:WebGLLinkerResultProcessor (Bee.BeeDriver.NodeResult) 0x000001d1bb6d68a3 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:ReportBuildResults (Bee.BeeDriver.BeeDriverResult) 0x000001d1bb6b5353 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs) 0x000001d1bb6b3d63 (Mono JIT Code) [BuildPostprocessor.cs:181] UnityEditor.WebGL.WebGlBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs) 0x000001d1bb6b37eb (Mono JIT Code) UnityEditor.Modules.DefaultBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&) 0x000001d1bb6b30a8 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport) 0x000001d1bb6b33d5 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr) 0x00007ffdc8bffcf4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007ffdc8b3e794 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke 0x00007ffdc8b3e92c (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke 0x00007ff73ba4f934 (Unity) scripting_method_invoke 0x00007ff73ba2f274 (Unity) ScriptingInvocation::Invoke 0x00007ff73d4d7211 (Unity) CallMono 0x00007ff73d4df537 (Unity) PostprocessPlayer 0x00007ff73d4da0d0 (Unity) DoBuildPlayer_PostBuild 0x00007ff73d4d809e (Unity) DoBuildPlayer 0x00007ff73d4cc1a2 (Unity) BuildPlayer 0x00007ff73b31f856 (Unity) BuildPipeline::BuildPlayerInternalNoCheck 0x00007ff73b0b5700 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck 0x000001d20fc38d17 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[ ],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[ ],bool) 0x000001d20fc384e3 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions) 0x000001d20fc34a43 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions) 0x000001d20fc238a3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor) 0x000001d20fc1c363 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings () 0x000001d214c0b133 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI () 0x000001cf11d5184a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect) 0x000001cf11d51663 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect) 0x000001cf11d40d73 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI () 0x000001d1deb49a27 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) 0x000001d1deb48aeb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) 0x000001d177316aab (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool) 0x000001d177316933 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool) 0x000001d17731621b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool) 0x000001d177313a03 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool) 0x000001d1dd7ce36b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase) 0x000001d1dd7b6918 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase) 0x000001d177310dab (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x000001d1dd7b4b2e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool) 0x000001d1dd7b462b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x000001d1dd7bb22b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue () 0x000001d1dd7b96b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate () 0x000001d1dd7b95eb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose () 0x000001d1dd7b48b3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x000001d1dd7b4003 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode) 0x000001d1dd7b3e7b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode) 0x000001d1dead5803 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel) 0x000001d1dead50f3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) 0x000001d1dead4eaf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr) 0x000001d1dead4dcb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr) 0x000001d1dead4c1d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) 0x000001d1dead4cd6 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr) 0x00007ffdc8bffcf4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke 0x00007ffdc8b3e794 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke 0x00007ffdc8b3e92c (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke 0x00007ff73ba4f934 (Unity) scripting_method_invoke 0x00007ff73ba2f274 (Unity) ScriptingInvocation::Invoke 0x00007ff73ba29e75 (Unity) ScriptingInvocation::Invoke 0x00007ff73bb7491a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent 0x00007ff73c551778 (Unity) GUIView::ProcessRetainedMode 0x00007ff73cae5a7b (Unity) GUIView::OnInputEvent 0x00007ff73c5516c3 (Unity) GUIView::ProcessInputEventFromAPI 0x00007ff73c551598 (Unity) GUIView::ProcessInputEvent 0x00007ff73cae68af (Unity) GUIView::ProcessEventMessages 0x00007ff73cae0570 (Unity) GUIView::GUIViewWndProc 0x00007ffe84bfe858 (USER32) CallWindowProcW 0x00007ffe84bfe299 (USER32) DispatchMessageW 0x00007ff73cabb0a3 (Unity) MainMessageLoop 0x00007ff73cabfaab (Unity) WinMain 0x00007ff73de9fc7e (Unity) __scrt_common_main_seh 0x00007ffe84b37344 (KERNEL32) BaseThreadInitThunk 0x00007ffe84e226b1 (ntdll) RtlUserThreadStart

Are you looking at the bottom-most error only? I bet there is more than one error in the console.

The errors are sorted in order from first to last occurance. ALWAYS (quoting Kurt here :smile: ) look at the FIRST error message because that’s the one that tells you what went wrong initially. The ones following that are either repeat messages or just that: follow-up errors.

PS: when you start a new WebGL project, prefer to use the latest LTS or even tech stream because the tech has evolved quite a bit in recent years.

I have the latest LTS 2021 installed, this is the whole error message.

If that’s the only error I’d definitely check the location of the project and the build.

It’s still unclear but a lot of folk are having unexpected issues due to installing Unity or creating projects in non-default locations such as “C:\Unity Projects” and such. This isn’t generally an issue but it depends on who created that folder (or even disk) and what the permissions are. I’m still largely suspecting permission issues for many of these unexplicable failure messages.

Try using “Documents” as the project and build location to see if it works there.

Makes sense, will try to create multiple projects in different directories. Thank you!

so i did new project, change to webgl, fix the auto graphics setting it says warning about, hit build and it compiled just fine… please explain any deviated process you did?

I changed nothing except as you said the autographics warning, I am using 2021.3.30f1

me too, i made it just for you :smile:

so its something environmental for you

I think I am going to format, fresh install and see what happens.

Even after the format I still get the same error on 2021.3 on empty projects. 2022.3 Builds with no problems.

Yikes, this does suggest a crash in the third-party Emscripten compiler that Unity uses.

It is great to hear that using Unity 2022 LTS avoids the issue. Maybe it might be something that did get fixed in the Emscripten project.

Unfortunately we are in a bit of a tricky spot to address an issue like this, since we cannot retroactively change Unity 2021 LTS to use the same Emscripten compiler version that 2022 LTS does.

Nevertheless, you can try reporting the project as a bug, and our QA will take a look if they can repro. If it reproes widely, then there is a chance we’d be able to patch or work around the Emscripten compiler in 2021 LTS somehow.

Got this stack trace today :

Building Library\Bee\artifacts\WebGL\il2cpp\master_WebGL_wasm\ef39_tils0.lump.o failed with output:
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: “C:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\clang++.exe” -target wasm32-unknown-emscripten -DEMSCRIPTEN -fno-inline-functions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL “–sysroot=C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\cache\sysroot” -Xclang -iwithsysroot/include\compat -D__webgl__ -Wno-c++11-extensions -Wno-nonportable-include-path -ffunction-sections -fno-unwind-tables -fomit-frame-pointer -fno-threadsafe-statics -std=c++11 -Wno-#warnings -Wswitch -Wno-trigraphs -Wno-tautological-compare -Wno-invalid-offsetof -Wno-implicitly-unsigned-literal -Wno-integer-overflow -Wno-shift-negative-value -Wno-unknown-attributes -Wno-implicit-function-declaration -Wno-null-conversion -Wno-missing-declarations -Wno-unused-value -Wno-pragma-once-outside-header -fvisibility=hidden -fexceptions -fno-rtti -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DGC_NOT_DLL -DIL2CPP_DEFAULT_DATA_DIR_PATH=Data -DNDEBUG -I. “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/libil2cpp/pch” “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/libil2cpp” “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/external/baselib/Include” “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include” “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/external/baselib/Platforms/WebGL/Include” “-IC:/Program Files/Unity/Hub/Editor/2021.3.19f1/Editor/Data/il2cpp/external/bdwgc/include” -Oz -fcolor-diagnostics -fdiagnostics-absolute-paths -UGC_THREADS -UUSE_MMAP -UUSE_MUNMAP -c -xc++ Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/ztyh_utils0.lump.cpp -o Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/ef39_tils0.lump.o

  1. parser at end of file
  2. Optimizer
    #0 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e325
    #1 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x433151 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e774
    #2 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42eaca C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x432143
    #3 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e774 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e325
    #4 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x433130 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e774
    #5 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42e325 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x42ea60
    #6 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xa054da C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9ffcca
    #7 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9ff913 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xa009f4
    #8 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9ffaa9 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x998d93
    #9 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9669f8 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x96517a
    #10 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x960192 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x9646dc
    #11 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x18b6f72 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x7e7421
    #12 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xedd1e2 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2a7b6a7
    #13 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x18b8ce6 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2a7b032
    #14 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x929a76 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2a7baf5
    #15 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x929aa6 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2a7cae9
    #16 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x929a42 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x7e797d
    #17 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x92b844 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x18b8792
    #18 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x7e797d C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xed615b
    #19 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xed69f1 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2cf06bd
    #20 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1e87c44 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x14185b7
    #21 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2cef5e8 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x1418092
    #22 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x13e0ed0 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x147ccdc
    #23 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x5ef38 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x59f87
    #24 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x13073a7 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0xc5511d
    #25 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x13079a4 C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x128b7bf
    #26 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x128bb0d C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x12748d0
    #27 0x00007ff6a3ede7bf C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x5c35f C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe 0x2a55c44
    #28 0x00007ff6a3ede7bf (C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0x42e7bf)
    #29 0x00007ff6a3ede325 (C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0x42e325)
    0x00007FF6A3EDE7BF (0x0000008D9BF86EF0 0x0000008D00000000 0x0000000000000020 0x0000000000000003)
    0x00007FF6A3EDE325 (0x000002534D517430 0x0000000000000000 0x0000008D9BF86740 0x0000008D9BF86C70)
    0x00007FF6A3EE3151 (0x0000025300000020 0x0000008D9BF86C70 0x000002534D517430 0x0000000000000000)
    0x00007FF6A3EDE774 (0x0000000000000002 0x0000008D9BF86A00 0x000002534D47A810 0x0000000000000001)
    0x00007FF6A3EDEACA (0x0000000000000003 0x000002534D517430 0x0000008D9BF86A30 0x0000008D9BF86C70)
    0x00007FF6A3EE2143 (0x0000025300000000 0x0000008D9BF86C70 0x0000008D00000002 0x00007FF600000020)
    0x00007FF6A3EDE774 (0x0000008D9BF86EF0 0x00007FF6A3EDE325 0x0000000000000020 0x0000000000000001)
    0x00007FF6A3EDE325 (0x000002534D516C50 0x0000000000000000 0x0000008D9BF86D00 0x0000008D9BF87D20)
    0x00007FF6A3EE3130 (0x0000025300000020 0x0000008D9BF87D20 0x000002534D516C50 0x00007FF6A3EDE7A9)
    0x00007FF6A3EDE774 (0x0000008D9BF86EF0 0x0000008D9BF87DA0 0x0000000000000020 0x0000000000000000)
    0x00007FF6A3EDE325 (0x0000008D9BF87D20 0x000002534D516C50 0x0000008D9BF87009 0x0000008D9BF87C90)
    0x00007FF6A3EDEA60 (0x0000000000000001 0xFFFFFFFF00000001 0x0000008D9BF88A58 0x00007FF6A44B54DA)
    0x00007FF6A44B54DA (0x0000000000000020 0x000002534B76EB40 0x0000000000000001 0x000002534D47EDD0)
    0x00007FF6A44AFCCA (0x000002534D47E810 0x000002534D516C50 0x0000000000000000 0x00007FF600000020)
    0x00007FF6A44AF913 (0x0000008D9BF88910 0x0000000000000001 0x0000008D9BF888F0 0x000002534D480180)
    0x00007FF6A44B09F4 (0x0000000000000020 0x000002534D47E830 0x000002534D47EDD0 0x0000008D9BF88940)
    0x00007FF6A44AFAA9 (0x0000000000000000 0x000002534D47E830 0x0000000000000000 0x000002534D47EDD0)
    0x00007FF6A4448D93 (0x0000008D9BF88AA8 0x0000025300000000 0x0000025300000000 0x000002534D47BFB0)
    0x00007FF6A44169F8 (0x000002534D47E848 0x0000008D9BF88CA9 0x000002534D47E848 0x0000008D9BF88CA9)
    0x00007FF6A441517A (0x0000000000000000 0x00007FF6A6B71CA0 0x0000001E00000000 0x0000000000000000)
    0x00007FF6A4410192 (0x0000000000000000 0x000002534D3051F8 0x0000000000000000 0x000002534D48FE50)
    0x00007FF6A44146DC (0x000002534D48FE58 0x0000008D9BF89290 0x000002534D4A9048 0x000002534D4A1F08)
    0x00007FF6A5366F72 (0x0000008D9BF89240 0x0000008D9BF8AAE8 0x000002534D3051F8 0x0000000000000000)
    0x00007FF6A4297421 (0x000002534D49BC78 0x0000008D9BF894B0 0x0000008D9BF89520 0x0000008D9BF8A790)
    0x00007FF6A498D1E2 (0x0000008D9BF893F0 0x0000008D9BF8AAE8 0x000002534D74CBC0 0x00007FF6A7396230)
    0x00007FF6A652B6A7 (0x0000008D9BF896F0 0x00007FF6A5349F81 0x000002534C3E24C8 0x0000008D9BF896C0)
    0x00007FF6A5368CE6 (0x0000008D9BF89690 0x0000008D9BF8AAE8 0x000002534D1DE310 0x0000000000000000)
    0x00007FF6A652B032 (0x000002534D5F1828 0x0000008D9BF89880 0x000002534C3E24C8 0x0000008D9BF8A830)
    0x00007FF6A43D9A76 (0x0000008D9BF89848 0x0000008D9BF8AAE8 0x000002534D305250 0x0000008D9BF89D28)
    0x00007FF6A652BAF5 (0x0000008D9BF89B40 0x00007FF6A43D9571 0x0000008D9BF8AAE8 0x0000008D9BF89C00)
    0x00007FF6A43D9AA6 (0x0000008D9BF89BA0 0x000002534C3E24C8 0x000002534D74CBC0 0x0000000000000000)
    0x00007FF6A652CAE9 (0x0000008D9BF8A3F0 0x0000008D9BF8A2D0 0x0000008D9BF8A3F0 0x0000008D9BF8A7E0)
    0x00007FF6A43D9A42 (0x0000008D9BF8A290 0x0000008D9BF8AAE8 0x000002534B7C2920 0x0000008D9BF8AAE8)
    0x00007FF6A429797D (0x000002534D57F410 0x0000008D9BF8A3F0 0x000002534D49BAE0 0x0000008D9BF8A7E0)
    0x00007FF6A43DB844 (0x0000000000000000 0x0000008D9BF8A5D0 0x000002534B7C2920 0x0000008D9BF8A7E0)
    0x00007FF6A5368792 (0x0000008D9BF8A580 0x0000008D9BF8AAE8 0x000002534B7C2920 0x0000000000000000)
    0x00007FF6A429797D (0x0000008D9BF8A8D0 0x0000008D9BF8A9E0 0x0000000001240001 0x0000008D9BF8A7E0)
    0x00007FF6A498615B (0x000002534BE200E0 0x00007FF8C8A75BA1 0x000002534B767B00 0x000002534B767B40)
    0x00007FF6A49869F1 (0x000002534B75F658 0x000002534B761DB0 0x0000008D9BF8C150 0x0000008D9BF8C180)
    0x00007FF6A67A06BD (0x0000000000000000 0x000002534B7AF730 0x000002534B764420 0x000002534B761D30)
    0x00007FF6A5937C44 (0x000002534B6F3400 0x0000000000000000 0x000002534B6F3410 0x0000000000000000)
    0x00007FF6A4EC85B7 (0x000002534B768040 0x0000000000000000 0x0000000000000114 0x00000000000003FF)
    0x00007FF6A679F5E8 (0x0000008D9BF8D620 0x00007FF6A4E9A32C 0x0000000000000030 0x000002534B6F3410)
    0x00007FF6A4EC8092 (0x0000000000000000 0x0000008D9BF8D598 0x0000000400000000 0x000002534B767A18)
    0x00007FF6A4E90ED0 (0x000002534B6F3410 0x0000000000000000 0x000002534B768040 0x0000000000000000)
    0x00007FF6A4F2CCDC (0x0000000000000000 0x000002534B7616F0 0x000002534B7603D0 0x000002534B75CE10)
    0x00007FF6A3B0EF38 (0x0000000000000000 0x0000008D9BF8DFA9 0x0000008D9BF8E0B0 0x0000000000000000)
    0x00007FF6A3B09F87 (0x0000000000000120 0x0000008D9BF8E0C8 0x0000008D9BF8E0B0 0x0000000000000000)
    0x00007FF6A4DB73A7 (0x000002534B6F3EC0 0x0000008D9BF8E0B0 0x000002534B760D30 0x000002534B75E9B0)
    0x00007FF6A470511D (0x0000008D9BF8FC38 0x0000000000000000 0x0000008D9BF8E170 0x000002534B75E740)
    0x00007FF6A4DB79A4 (0x000002534B728B60 0x0000008D9BF8E609 0x000002534B75E740 0x0000000000000000)
    0x00007FF6A4D3B7BF (0x000002534B75BEA0 0x000002534B75BEA0 0x000002530000003E 0x000002534B757A18)
    0x0000

This suggests a bug in the LLVM Compiler Project that Unity uses.

Unity 2022 LTS contains a newer version of the LLVM compiler that looks like has fixed whatever the issue here is.

If you are unable to update to a newer Unity version, you could try to file a Unity bug. It is not clear if there will be something that we can do in this type of situation, but maybe there might be a workaround that we could use for the older LLVM compiler version. Although definitely recommend updating to Unity 2022 LTS as a primary solution, if possible.

what is your dev os, av, do you use google drive/onedrive ?

I have a similar error with Unity 2022.3.11f1
I’m new and I’m trying to do the Unity Essentials Pathway

That’s the first error showing in the console :

Building Library/Bee/artifacts/WebGL/il2cpp/release_WebGL_wasm/52mqokhk338q.o failed with output:
Traceback (most recent call last):
File “/media/Azot/Jacob/Unity/Install/2022.3.11f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/emcc.py”, line 23, in
from tools.toolchain_profiler import ToolchainProfiler
File “/media/Azot/Jacob/Unity/Install/2022.3.11f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/tools/toolchain_profiler.py”, line 17, in
from . import response_file
File “/media/Azot/Jacob/Unity/Install/2022.3.11f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/tools/response_file.py”, line 10, in
from .utils import WINDOWS
File “/media/Azot/Jacob/Unity/Install/2022.3.11f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/tools/utils.py”, line 11, in
from . import diagnostics
File “/media/Azot/Jacob/Unity/Install/2022.3.11f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emscripten/tools/diagnostics.py”, line 9, in
import ctypes
File “/usr/local/lib/python3.10/ctypes/init.py”, line 8, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named ‘_ctypes’
ublic Il2CppObject
UnityEditor.GenericMenu:CatchMenu (object,string[ ],int) (at /home/bokken/build/output/unity/unity/Editor/Mono/GUI/GenericMenu.cs:127)

I solve it in reinstalling Python on my computer