-
- BlankMauser
- Posts: 3
- Joined:
Unity WebGL Build Error (Function Signature Mismatch)
Web GL Builds failing with the following error messages on Unity 6.1 Alpha with NoesisGUI 3.2.6:
Any word on how I could fix this? Fails with Render Graph on or off, have tried various code stripping and scripting defines on/off.
Code: Select all
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&)
-
-
sfernandez
Site Admin
- Posts: 3199
- Joined:
Re: Unity WebGL Build Error (Function Signature Mismatch)
Hello, could you please report this in our bugtracker, it seems there are some signature mismatchs between the native code and the imported functions in the managed code.
Re: Unity WebGL Build Error (Function Signature Mismatch)
I also see messages that are probably related to new things added in Unity
It seems we are going to need another build for Unity 6
Code: Select all
wasm-ld: error: --shared-memory is disallowed by Error.o because it was not compiled with 'atomics' or 'bulk-memory' features.
-
- BlankMauser
- Posts: 3
- Joined:
Re: Unity WebGL Build Error (Function Signature Mismatch)
Done, bug filed here: https://www.noesisengine.com/bugs/view.php?id=3867Hello, could you please report this in our bugtracker, it seems there are some signature mismatchs between the native code and the imported functions in the managed code.
Unity has also added experimental WebGPU support and WASM multithreading. However, this current issue was with WebGL.
Who is online
Users browsing this forum: Semrush [Bot] and 10 guests