Leap Motion Game WebGL Error about Emscripten's Linking
Hi! I made a game on Unity using leap motion and now I want to implement is as a web app using WebGL. But its not working. I can build it with WebGL but when I go to the index link it gives an error:
An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was: uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace (builf.wasm.framework.unityweb:943:12) stackTrace (builf.wasm.framework.unityweb:957:11) onAbort@file:///C:/Conditions_original%20-%20Copy%20-%20Copy_wHands_2019_1/builf/Build/UnityLoader.js:1139:50 abort (builf.wasm.framework.unityweb:27181:10) dlopen (builf.wasm.framework.unityweb:9061:7) ZN6il2cpp2osL19LoadLibraryWithNameEPKci (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[57713]:0xecc9be) ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEEi (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[57712]:0xecc8ca) ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEE (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[57711]:0xecc824) ZN6il2cpp2vm13LibraryLoader18LoadDynamicLibraryENS_5utils10StringViewIcEE (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[58623]:0xee8ec7) ZN6il2cpp2vm14PlatformInvoke7ResolveERK16PInvokeArguments (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[58813]:0xef052f) Z22il2cpp_codegen_resolveRK16PInvokeArguments (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[59973]:0xf17229) Z30il2cpp_codegen_resolve_pinvokeIPFjlPlELm6ELm21EET_RAT0KcRAT1_S4_20Il2CppCallConvention13Il2CppCharSetib (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49671]:0xd36f23) _LeapC_CreateConnection_m3B94B98654C0FA28645BBA1FD60601A94180D33A (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49670]:0xd36e9c) _LeapC_CreateConnection_m3D7BF738F418A83F792C8F723B226E66F88AF623 (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49657]:0xd36a0f) _Connection_Start_m7F3EBC224279B166278CB689F5B4EF40CE99D44E (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49656]:0xd36805) Controller_ctor_m457F35DA3568CCF9CD0D7C708395381CB9CE044A (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49653]:0xd3669b) Controller_ctor_m4C2411BF46020321BACD62143BBA0700D87E1B41 (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[49652]:0xd3655f) LeapServiceProvider_createController_m594BD6BA52CA694BB3BC3BE844F51B952E8C0B93 (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[33830]:0xa48eb5) LeapServiceProvider_Start_m17B45391DBFB851CE9F722B5AAA87DF94392793B (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[33829]:0xa48e00) Z65RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017PFvvEPK10MethodInfoPvPS4 (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[25261]:0x8ec626) dynCall_iiiii (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[60577]:0xf4461f) UnityModule [UnityModule/Module.dynCall_iiiii] (builf.wasm.framework.unityweb:25794:40) invoke_iiiii (builf.wasm.framework.unityweb:16859:17) _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[57927]:0xed412a) il2cpp_runtime_invoke (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[56894]:0xeb0300) Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[4843]:0x19fe40) ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[4841]:0x19fc03) ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[8011]:0x27e1d1) ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[8008]:0x27d683) ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[10842]:0x3a0264) ZN18DelayedCallManager6UpdateEi (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[8547]:0x2b690f) ZZ23InitPlayerLoopCallbacksvEN50EarlyUpdateScriptRunDelayedStartupFrameRegistrator7ForwardEv (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[11955]:0x40a45f) Z17ExecutePlayerLoopP22NativePlayerLoopSystem (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[11010]:0x3ae7ab) Z17ExecutePlayerLoopP22NativePlayerLoopSystem (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[11010]:0x3ae7c0) Z10PlayerLoopv (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[11003]:0x3ad9eb) _ZL8MainLoopv (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[10988]:0x3abbfa) dynCall_v (blob:null/6b32f5fc-4b98-4ba2-a010-cd722cebc5cc line 1382 > WebAssembly.instantiate:wasm-function[60653]:0xf44e9e) UnityModule [UnityModule/Module.dynCall_v] (builf.wasm.framework.unityweb:26174:36) browserIterationFunc (builf.wasm.framework.unityweb:9218:11) runIter (builf.wasm.framework.unityweb:9320:5) Browser_mainLoop_runner (builf.wasm.framework.unityweb:9256:20)
It's really annoying... I have been working on it for the last 3 days. Tried lots of different versions of Unity. I feel so desperate. Any kind of help would be really appreciated!