Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Cannot build WASM. Noesis 3.1.7 & Unity 2021.3.23f1

27 Apr 2023, 03:33

Ok, so I got Noesis 3.1.7 to build with Unity 2022, but in WebGL the text boxes don't work. So I'm trying to go back to Unity 2021.

Now I'm getting this error when trying to do a WebGL build,

What version of Unity do I need to be using to get Noesis 3.1.7 and WebGL to work?

ilding Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
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 in C:\\Users\\james\\AppData\\Local\\Temp\\tmpaett4ye6GameAssembly.a(byft_esisGUI__4.o)
>>> defined as (i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> void in C:\\Users\\james\\AppData\\Local\\Temp\\tmp955mjnndNoesis.a(RenderBindings.o)

wasm-ld: warning: function signature mismatch: Noesis_RenderDevice_CloneRenderTarget
>>> defined as (i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmpaett4ye6GameAssembly.a(byft_esisGUI__4.o)
>>> defined as (i32, i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmp955mjnndNoesis.a(RenderBindings.o)

wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceD3D12_Create
>>> defined as (i32, i32, i32, i32, i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmpaett4ye6GameAssembly.a(byft_esisGUI__4.o)
>>> defined as (i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmp955mjnndNoesis.a(UnityBindings.o)

wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceAGC_SetCommandBuffer
>>> defined as (i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmpaett4ye6GameAssembly.a(byft_esisGUI__4.o)
>>> defined as (i32, i32) -> void in C:\\Users\\james\\AppData\\Local\\Temp\\tmp955mjnndNoesis.a(UnityBindings.o)

wasm-ld: warning: function signature mismatch: Noesis_RenderDeviceGNM_SetContext
>>> defined as (i32, i32) -> i32 in C:\\Users\\james\\AppData\\Local\\Temp\\tmpaett4ye6GameAssembly.a(byft_esisGUI__4.o)
>>> defined as (i32, i32) -> void in C:\\Users\\james\\AppData\\Local\\Temp\\tmp955mjnndNoesis.a(UnityBindings.o)
error: undefined symbol: sendfile (referenced by top-level compiled C/C++ code)
warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _sendfile may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc2: error: '"C:/Program Files/Unity/Hub/Editor/2021.3.23f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/node/node.exe" "C:\Program Files\Unity\Hub\Editor\2021.3.23f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\src\compiler.js" C:\Users\james\AppData\Local\Temp\tmpj22ialdz.txt' failed (1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Cannot build WASM. Noesis 3.1.7 & Unity 2021.3.23f1

27 Apr 2023, 11:43

This is a duplication of viewtopic.php?t=2921

I know it is not exactly a duplication, but let's continue there, because I have given answers there that are valid for this post.
 
Jamieh
Topic Author
Posts: 70
Joined: 12 Apr 2019, 00:30

Re: Cannot build WASM. Noesis 3.1.7 & Unity 2021.3.23f1

27 Apr 2023, 17:22

Sorry yes, I put the details from here in that after I had created this. I should have just kept it in one thread.

Who is online

Users browsing this forum: Google [Bot], vinick and 58 guests