voronikpm
Topic Author
Posts: 3
Joined: 17 Sep 2017, 13:12

unity 2018.4 webgl

13 Oct 2020, 13:50

Hi.
I am developing a cross-platform app for smart tvs. I started the development with unity 2019.4 and webgl version worked fine, but I had to switch to 2018.4 for asm.js support for older tizen and webos tvs and now i'm getting an error in built app (both asm.js and webassembly versions). I've tried creating an empty project and testing a noesis "Hello world" sample and result is the same.
14:40:36.761 missing function: _Znwm UnityLoader.js:4:9478
    printErr http://localhost:51077/Build/UnityLoader.js:4
    __Znwm blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14269440
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14265120
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14265381
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14265232
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14289937
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:16301911
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:16426844
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:16489076
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:12687102
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:12687072
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:13675891
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:13678578
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:13702178
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:8495506
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:16773875
    dynCall_iiiii blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    invoke_iiiii blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:13964802
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:14033997
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:1500363
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3442629
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3446956
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3053650
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3052858
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3061819
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3518844
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3518303
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3518022
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3516287
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3515055
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3479950
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:3478724
    _main blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    callMain blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    doRun blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    run blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    runCaller blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    removeRunDependency blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    unityFileSystemInit blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    doCallback blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    done blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    reconcile blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    syncfs blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
    <anonymous> blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2
An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
uncaught exception: abort(-1) at jsStackTrace (Build.wasm.framework.unityweb:2:15158)
stackTrace (Build.wasm.framework.unityweb:2:15329)
onAbort@http://localhost:51077/Build/UnityLoader.js:4:9380
abort (Build.wasm.framework.unityweb:2:499684)
operator new(unsigned long) [__Znwm] (Build.wasm.framework.unityweb:2:176674)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[54254]:0xd9bc00 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[54207]:0xd9ab20)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[54211]:0xd9ac25 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[54209]:0xd9ab90)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[54543]:0xda0c11 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[71689]:0xf8bf57)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[73045]:0xfaa75c (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[73648]:0xfb9a74)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[47383]:0xc196fe (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[47382]:0xc196e0)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[50747]:0xd0ad73 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[50754]:0xd0b7f2)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[50854]:0xd11422 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[21770]:0x81a192)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[77252]:0xfff2f3
UnityLoader["972be4ba4159bc3f00d787746be4005f"]/dynCall_iiiii [Module.dynCall_iiiii] (Build.wasm.framework.unityweb:2:474589)
invoke_iiiii (Build.wasm.framework.unityweb:2:352375)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[52423]:0xd51602 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[52842]:0xd6244d)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[2609]:0x16e4cb (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7641]:0x3487c5)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7663]:0x3498ac (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[6670]:0x2e9852)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[6668]:0x2e953a (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[6687]:0x2eb83b)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7838]:0x35b17c (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7837]:0x35af5f)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7835]:0x35ae46 (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7831]:0x35a77f)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7824]:0x35a2af (blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7769]:0x35198e)
@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e line 2 > WebAssembly.instantiate:wasm-function[7768]:0x3514c4
UnityLoader["972be4ba4159bc3f00d787746be4005f"]/_main [Module._main] (Build.wasm.framework.unityweb:2:462993)
callMain (Build.wasm.framework.unityweb:2:498394)
doRun (Build.wasm.framework.unityweb:2:499079)
run (Build.wasm.framework.unityweb:2:499258)
runCaller (Build.wasm.framework.unityweb:2:498021)
removeRunDependency (Build.wasm.framework.unityweb:2:21718)
UnityLoader["972be4ba4159bc3f00d787746be4005f"]/</unityFileSystemInit</<@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2:413
doCallback (Build.wasm.framework.unityweb:2:91413)
done (Build.wasm.framework.unityweb:2:91561)
reconcile (Build.wasm.framework.unityweb:2:74180)
UnityLoader["972be4ba4159bc3f00d787746be4005f"]/syncfs/</<@blob:http://localhost:51077/5922fabe-23ed-4a45-a64a-66206e493e5e:2:Noesis::AnimationUsingKeyFramesHelper<Noesis::Int16AnimationUsingKeyFrames, Noesis::Int16KeyFrame, short>::UnboxValue(Noesis::BaseComponent*, Noesis::Int2Type<0>) [70165] (Build.wasm.framework.unityweb:2:71994)

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3015
Joined: 20 Jan 2012, 17:18
Contact:

Re: unity 2018.4 webgl

13 Oct 2020, 14:03

WebGL is very strict regarding mixing emscripten (the toolchain used by Unity and Noesis to compile C++ to WebAssembly) versions. Unfortunately we cannot be compatible with older versions of Unity. Only if you had access to the source code you could recompile, but that's something we only provide with Pro licenses.
 
voronikpm
Topic Author
Posts: 3
Joined: 17 Sep 2017, 13:12

Re: unity 2018.4 webgl

13 Oct 2020, 14:25

WebGL is very strict regarding mixing emscripten (the toolchain used by Unity and Noesis to compile C++ to WebAssembly) versions. Unfortunately we cannot be compatible with older versions of Unity. Only if you had access to the source code you could recompile, but that's something we only provide with Pro licenses.
What would be the last compatible version of Noesis? And how painfull would be the downgrade?
 
User avatar
jsantos
Site Admin
Posts: 3015
Joined: 20 Jan 2012, 17:18
Contact:

Re: unity 2018.4 webgl

13 Oct 2020, 14:45

Emscripten version used by Unity is specified at
$UNITY\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten-version.txt
Noesis is compiled with 1.38.11, so both version should match. If they don't match you can try being lucky (for example, differences in minor numbers probably will work), trying to recompile Noesis (you need a PRO license with access to source code) or you can change Unity to use a custom version of emscripten.

Who is online

Users browsing this forum: No registered users and 2 guests