View Issue Details

IDProjectCategoryView StatusLast Update
0003867NoesisGUIUnitypublic2025-05-15 21:33
ReporterBlankMauser Assigned Tojsantos  
PrioritynormalSeverityblock 
Status resolvedResolutionfixed 
Product Version3.2.6 
Target Version3.2.8Fixed in Version3.2.8 
Summary0003867: Unity 6 WebGL Build Failing
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&)
Steps To Reproduce

Attempt to build empty Unity project with NoesisGUI for WebGL.

Build fails with WASM multithreading on or off.

PlatformWebGL

Activities

jsantos

jsantos

2025-05-15 21:33

manager   ~0010678

Note, that for now, we are only supporting single-threaded builds of WebGL in Unity.

Issue History

Date Modified Username Field Change
2024-12-28 23:20 BlankMauser New Issue
2024-12-28 23:20 BlankMauser Tag Attached: Unity URP
2024-12-30 11:26 sfernandez Assigned To => jsantos
2024-12-30 11:26 sfernandez Status new => assigned
2024-12-30 11:26 sfernandez Target Version => 3.2.7
2025-01-20 17:42 jsantos Target Version 3.2.7 => 3.2.8
2025-05-15 21:31 jsantos Description Updated
2025-05-15 21:31 jsantos Status assigned => resolved
2025-05-15 21:31 jsantos Resolution open => fixed
2025-05-15 21:31 jsantos Fixed in Version => 3.2.8
2025-05-15 21:33 jsantos Note Added: 0010678
2025-10-10 13:29 jsantos Category Unity3D => Unity