Emscripten's linking support error when i use clientwebsocket
Hi team,
need immediate help to resolve this issue.
I am getting Emscripten's linking s
Support error when i use clientwebsocket error when i use cleint web socket.
in code i am using
using System.Threading.Tasks;
using System.Collections.Concurrent; using System.Net.WebSockets;
clientWebSocket ClientWebSocket = new clientWebSocket(); ClientWebSocket.Start();
this one creating Emscripten's linking error when i try to open WebGL. Please asssit how i can resolve this? I tried Developer Build as well. nothing is working.
I am using 2019.3.5f unity version.
stack trace: Uncaught abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at Error at jsStackTrace (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:943:12) at Object.stackTrace (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:957:11) at Object.onAbort (http://localhost:8080/Build/UnityLoader.js:1139:50) at abort (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:27186:20) at dlopen (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:9034:2) at ZN6il2cpp2osL19LoadLibraryWithNameEPKci [il2cpp::os::LoadLibraryWithName(char const*, int)] (wasm-function[30970]:0xab5ffc) at ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEEi [il2cpp::os::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView const&, int)] (wasm-function[30969]:0xab5f08) at ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEE [il2cpp::os::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView const&)] (wasm-function[30968]:0xab5e62) at ZN6il2cpp2vm13LibraryLoader18LoadDynamicLibraryENS_5utils10StringViewIcEE [il2cpp::vm::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView)] (wasm-function[31874]:0xad1339) at ZN6il2cpp2vm14PlatformInvoke7ResolveERK16PInvokeArguments [il2cpp::vm::PlatformInvoke::Resolve(PInvokeArguments const&)] (wasm-function[32046]:0xad8232) at Z22il2cpp_codegen_resolveRK16PInvokeArguments [il2cpp_codegen_resolve(PInvokeArguments const&)] (wasm-function[33215]:0xaff811) at Z30il2cpp_codegen_resolve_pinvokeIPFjP6Guid_tPFvvEPvPxELm13ELm14EET_RAT0KcRAT1_S9_20Il2CppCallConvention13Il2CppCharSetib [unsigned int (il2cpp_codegen_resolve_pinvoke )(Guid_t*, void ( )(), void, long long*), 13ul, 14ul>(char const (&) [13ul], char const (&) [14ul], Il2CppCallConvention, Il2CppCharSet, int, bool))(Guid_t*, void ( )(), void, long long*)] (wasm-function[48062]:0xd65983) at _ManifestEtw_EventRegister_mE0FD847E8BE55184054D11D9CB65145D5DD7EC9A (wasm-function[48061]:0xd6590b) at dynCall_iiiiii (wasm-function[59516]:0xfad7c7) at Object.dynCall_iiiiii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:25804:41) at invoke_iiiiii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:16722:34) at _EventProvider_Register_m44CAC9D9F9EA2B0E4E3883128A19E1B70C254EE2 (wasm-function[36952]:0xb5e21c) at dynCall_viii (wasm-function[59645]:0xfae634) at Object.dynCall_viii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:26449:39) at invoke_viii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:18012:25) at _EventSource_Initialize_m19DBF37360307BE0AF8E5F4D48CDFBB11C2DFD01 (wasm-function[37006]:0xb625f3) at EventSource_ctor_mF8965DE244C1780B06C51E727B299E74A0798A4B (wasm-function[37004]:0xb6211b) at EventSource_ctor_mB386B8134304A663129B2AE557487685C91A927B (wasm-function[37003]:0xb62064) at EventSource_ctor_m609A5F8A53C64F1F7E5CEEE5427E77F4D3F4B52A (wasm-function[37002]:0xb62055) at NetEventSource ctor_mF7BB3B2E61DBC08C2BA259C942BD301E0D871A42 (wasm-function[44233]:0xcbf298) at NetEventSourcecctor_mD5EFCE110E61916033EEDD836273C0AE90E24C61 (wasm-function[44234]:0xcbf2d3) at Z66RuntimeInvoker_FalseVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017PFvvEPK10MethodInfoPvPS4 [RuntimeInvoker_FalseVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void ()(), MethodInfo const, void*, void**)] (wasm-function[34637]:0xb1b7a2) at dynCall_iiiii (wasm-function[59512]:0xfad748) at Object.dynCall_iiiii (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:25784:40) at invoke_iiiii (blob:http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:16682:33) at ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException [il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void*, Il2CppException*)] (wasm-function[31163]:0xabc15c) at ZN6il2cpp2vm7Runtime9ClassInitEP11Il2CppClass [il2cpp::vm::Runtime::ClassInit(Il2CppClass*)] (wasm-function[31166]:0xabc31b) at _Z33il2cpp_codegen_runtime_class_initP11Il2CppClass [il2cpp_codegen_runtime_class_init(Il2CppClass*)] (wasm-function[33183]:0xaff63d) at ClientWebSocket_ctor_m1D76A019F2A4599B3406D69CBFF9E7D507AF8CE1 (wasm-function[41192]:0xc1b14b) at dynCall_vii (wasm-function[59629]:0xfae487) at Object.dynCall_vii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:26369:38) at invoke_vii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:17852:24) at U3CStartAsyncU3Ed 12_MoveNext_mBF82E7CA3D5D5245DBA451B9DACFC0BB7F669CFA (wasm-function[58841]:0xf7f1ac) at _ZN23InterfaceActionInvoker06InvokeEjP11Il2CppClassP12Il2CppObject [InterfaceActionInvoker0::Invoke(unsigned int, Il2CppClass*, Il2CppObject*)] (wasm-function[25374]:0x9a85a9) at dynCall_viii (wasm-function[59645]:0xfae634) at Object.dynCall_viii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:26449:39) at invoke_viii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:18012:25) at AsyncTaskMethodBuilder_Start_TisRuntimeObject_m92BC8163DF9CF13B73D292852457D9C7BCA93A84_gshared (wasm-function[38842]:0xba9b51) at Z136AsyncTaskMethodBuilder_Start_TisU3CStopAsyncU3Ed 13_t7557D35AA8BBA3B974B95C9060829AF458EB8A16_m023D0AB3C0FCB7B1CD179EC03052DAA47397F83EP64AsyncTaskMethodBuilder_t0CD1893D670405BED201BE8CA6F2E811F2C0F487PP62U3CStopAsyncU3Ed 13_t7557D35AA8BBA3B974B95C9060829AF458EB8A16PK10MethodInfo [AsyncTaskMethodBuilder_Start_TisU3CStopAsyncU3Ed 13_t7557D35AA8BBA3B974B95C9060829AF458EB8A16_m023D0AB3C0FCB7B1CD179EC03052DAA47397F83E(AsyncTaskMethodBuilder_t0CD1893D670405BED201BE8CA6F2E811F2C0F487*, U3CStopAsyncU3Ed_13_t7557D35AA8BBA3B974B95C9060829AF458EB8A16* , MethodInfo const)] (wasm-function[58802]:0xf7b351) at _clientWebSocket_StartAsync_m86FE80FE73137F0F413B8A8CB208C0FE3DB7644E (wasm-function[58823]:0xf7d10e) at dynCall_iii (wasm-function[59497]:0xfad59e) at Object.dynCall_iii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:25709:38) at invoke_iii (blob: http://localhost:8080/04b7c931-a84d-4109-be72-14c3c4f5048a:16532:31) at U3CStartAsyncU3Ed 11_MoveNext_m489A64178A150ADC9EC54018448CB515AA705D01 (wasm-function[58840]:0xf7ef04) at _ZN23InterfaceActionInvoker06InvokeEjP11Il2CppClassP12Il2CppObject [InterfaceActionInvoker0::Invoke(unsigned int, Il2CppClass*, Il2CppObject*)] (wasm-function[25374]:0x9a85a9)