<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/73514>73514</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            WebGL Build keep Failing
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Idomon1234
      </td>
    </tr>
</table>

<pre>
    Hi there, I'm using Unity 2022.3.14f1 LTS and I can't build my project into WebGL. It worked when I built it to Windows but it gives me the following when I build it for web: 

Building Library\Bee\artifacts\WebGL\GameAssembly\release_WebGL_wasm\3gry0obkywr5.o failed with output:
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: D:/Ido/Unity/2022.3.14f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\\clang++.exe -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=8 -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=D:\\Ido\\Unity\\2022.3.14f1\\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 -O3 -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DHAVE_BDWGC_GC -DNDEBUG -I. "-ID:/Ido/Unity/MagicalQuest/My project/Library/Bee/artifacts/WebGL/il2cppOutput/cpp" -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp/pch -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/external/baselib/Include -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/external/baselib/Platforms/WebGL/Include -fcolor-diagnostics -fdiagnostics-absolute-paths -c -xc++ "D:/Ido/Unity/MagicalQuest/My project/Library/Bee/artifacts/WebGL/il2cppOutput/cpp/mscorlib__3.cpp" -o Library/Bee/artifacts/WebGL/GameAssembly/release_WebGL_wasm/3gry0obkywr5.o
1.      <eof> parser at end of file
2.      Optimizer
#0 0x00007ff715b90c85 (D:\Ido\Unity\2022.3.14f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0x8c0c85)
#1 0x00007ff715b90900 (D:\Ido\Unity\2022.3.14f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm\clang++.exe+0x8c0900)
#2 0x000002045e942fe0 
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 14.0.1 (https://github-com-cache.bf.unity3d.com/Unity-Technologies/llvm-project c62053979489ccb002efe411c3af059addcb5d7d)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: D:\Ido\Unity\2022.3.14f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\llvm
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\control\AppData\Local\Temp\mscorlib__3-b30b33.cpp
clang++: note: diagnostic msg: C:\Users\control\AppData\Local\Temp\mscorlib__3-b30b33.sh
clang++: note: diagnostic msg: 

********************
emcc: error: 'D:/Ido/Unity/2022.3.14f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\clang++.exe -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=8 -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=D:\Ido\Unity\2022.3.14f1\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 -O3 -fno-strict-overflow -ffunction-sections -fdata-sections -fmessage-length=0 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DIL2CPP_MONO_DEBUGGER_DISABLED -DRUNTIME_IL2CPP -DHAVE_BDWGC_GC -DNDEBUG -I. "-ID:/Ido/Unity/MagicalQuest/My project/Library/Bee/artifacts/WebGL/il2cppOutput/cpp" -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp/pch -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/external/baselib/Include -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/include -ID:/Ido/Unity/2022.3.14f1/Editor/Data/il2cpp/external/baselib/Platforms/WebGL/Include -fcolor-diagnostics -fdiagnostics-absolute-paths -c -xc++ "D:/Ido/Unity/MagicalQuest/My project/Library/Bee/artifacts/WebGL/il2cppOutput/cpp/mscorlib__3.cpp" -o Library/Bee/artifacts/WebGL/GameAssembly/release_WebGL_wasm/3gry0obkywr5.o' failed (returned 1)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsWV9v46oS_zT0BRE5ON40D31I4rgbKf1zt-ndfbMwHjtsMViAm_Z--iuwk6Y93XOPzp_d-1CpajAzwDAznt_8ZGatqBXABUoWKEnPWOd22lysS91oNabx5KzQ5fPFZ4HdDgwgusRrRKcN7qxQNb5Xwj1jGlE6ikfjSTXGm-0dZqrEa8yZQnTqcNEJWeLmGbdGfwfusFBO469QXG5GeO3wXpsHKPF-Bwqvg7bDwmGvI1Sp9xYXXZipxSNY3IA3BVdaSr33NpwsLL1apQ3eQ4HiOUZRiqJ5_3_h5V5_IwrDzDNKlgsAlCyZcaJi3FmULINVKFlesgbm1kJTSK9oQAKzkAdxvme2Qckyrs1zpIuH571JRhpXTEh_DeF2WHeu7RyKh6NvN6v53QrbrmiEwwwXXY0NtNqEW-6ca63XpRmiWS3critGXDeIZlI-Hn7I4D1EM2FtBxbRLDhaKC67sncKN8zucMH4gzOMh2i1BlqjOVgLJba6M_20X8ms1VwwByU2ncKWG9G6UW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