| Description | Unity WebGL Build failing on Unity 6 and up due to function signature mismatch.
Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm_mt\build.js failed with output:
E:\UnityProjectsSSD\CrossPaw>set MYDIR=C:\Program Files\Unity\Hub\Editor\6000.1.0a3\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\
E:\UnityProjectsSSD\CrossPaw>goto FOUND_MYDIR
emcc: warning: -pthread + ALLOW_MEMORY_GROWTH may run non-wasm code slowly, see https://github.com/WebAssembly/design/issues/1271 [-Wpthreads-mem-growth]
wasm-ld: warning: function signature mismatch: Noesis_RenderDevice_SetCallbacks
>>> defined as (i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 in E:/UnityProjectsSSD/CrossPaw/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(y1r7e4ai1s0s.o)
>>> defined as (i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> void in D:/Downloads/NoesisGUI-Unity-3.2.6-Indie/Runtime/Libraries/WebGL/Noesis.a(RenderBindings.o)
wasm-ld: warning: function signature mismatch: Noesis_RenderDevice_CloneRenderTarget
>>> defined as (i32, i32) -> i32 in E:/UnityProjectsSSD/CrossPaw/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(y1r7e4ai1s0s.o)
>>> defined as (i32, i32, i32) -> i32 in D:/Downloads/NoesisGUI-Unity-3.2.6-Indie/Runtime/Libraries/WebGL/Noesis.a(RenderBindings.o)
wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceD3D12_Create
>>> defined as (i32, i32, i32, i32, i32, i32) -> i32 in E:/UnityProjectsSSD/CrossPaw/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(y1r7e4ai1s0s.o)
>>> defined as (i32, i32) -> i32 in D:/Downloads/NoesisGUI-Unity-3.2.6-Indie/Runtime/Libraries/WebGL/Noesis.a(UnityBindings.o)
wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceAGC_SetCommandBuffer
>>> defined as (i32, i32) -> i32 in E:/UnityProjectsSSD/CrossPaw/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(y1r7e4ai1s0s.o)
>>> defined as (i32, i32) -> void in D:/Downloads/NoesisGUI-Unity-3.2.6-Indie/Runtime/Libraries/WebGL/Noesis.a(UnityBindings.o)
wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceGNM_SetContext
>>> defined as (i32, i32) -> i32 in E:/UnityProjectsSSD/CrossPaw/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(y1r7e4ai1s0s.o)
>>> defined as (i32, i32) -> void in D:/Downloads/NoesisGUI-Unity-3.2.6-Indie/Runtime/Libraries/WebGL/Noesis.a(UnityBindings.o)
wasm-ld: error: --shared-memory is disallowed by Error.o because it was not compiled with 'atomics' or 'bulk-memory' features.
emcc: error: '"C:/Program Files/Unity/Hub/Editor/6000.1.0a3/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\wasm-ld.exe" @C:\Users\ciaru\AppData\Local\Temp\emscripten_vvw8dd8v.rsp.utf-8' failed (returned 1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
|
|---|