Search Unity

WebAssembly 5.6 IPAddress.NetworkToHostOrder(long) error

Discussion in 'WebGL' started by ortin, Apr 17, 2017.

  1. ortin

    ortin

    Joined:
    Jan 13, 2013
    Posts:
    221
    Exception in WebAssembly target while using this line of code
    Code (CSharp):
    1. IPAddress.NetworkToHostOrder(0L)
    Works fine with normal webgl.
    Bug #897782.

    UnityLoader.js:234 exception thrown: TypeError: asm.setTempRet0 is not a function,TypeError: asm.setTempRet0 is not a function
    at _llvm_bswap_i64 (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:9138:34)
    at legalfunc$_llvm_bswap_i64 (<WASM>[22898]+10)
    at _IPAddress_NetworkToHostOrder_m1016057775 (<WASM>[10382]+142)
    at _Test_Start_m3277169809 (<WASM>[21729]+113)
    at __Z31RuntimeInvoker_Void_t1841601450PK10MethodInfoPvPS2_ (<WASM>[18982]+20)
    at dynCall_iiii (<WASM>[22620]+18)
    at Object.UnityLoader.22dd4f56d33adef6d36600ad21e66b86.Module.dynCall_iiii (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:18460:95)
    at invoke_iiii (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:16834:34)
    at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (<WASM>[20521]+68)
    at _il2cpp_runtime_invoke (<WASM>[20658]+44)
    at __Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (<WASM>[1963]+66)
    at __ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (<WASM>[1960]+252)
    at __ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr (<WASM>[4880]+198)
    at __ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr (<WASM>[4879]+169)
    at __ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv (<WASM>[7125]+249)
    at __ZN18DelayedCallManager6UpdateEi (<WASM>[6396]+574)
    at __ZZ23InitPlayerLoopCallbacksvEN45EarlyUpdateScriptRunDelayedStartupFramestruct7ForwardEv (<WASM>[4568]+26)
    at __Z10PlayerLoopv (<WASM>[2632]+788)
    at __ZL8MainLoopv (<WASM>[2619]+248)
    at dynCall_v (<WASM>[22603]+12)
    at Object.UnityLoader.22dd4f56d33adef6d36600ad21e66b86.Module.dynCall_v (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:18442:86)
    at browserIterationFunc (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:2707:30)
    at Object.runIter (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:2824:13)
    at Browser_mainLoop_runner (blob:file:///3381e7c4-7222-4023-a0d6-f1e9d28e5076:2762:26)
     
unityunity