Issue |
73514
|
Summary |
WebGL Build keep Failing
|
Labels |
new issue
|
Assignees |
|
Reporter |
Idomon1234
|
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&)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs