Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL Error - To use dlopen, you need to use Emscripten's linking support

Discussion in 'Web' started by vitorsantiago, Jun 19, 2019.

  1. vitorsantiago

    vitorsantiago

    Joined:
    May 3, 2019
    Posts:
    5
    Hi guys, I was trying to build a WebGL through Unity (version 2019.3.0a4) but as soon as I open the index.html on firefox I get this 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 (WEBGLBuild_v3.wasm.framework.unityweb:950:12)
    stackTrace (WEBGLBuild_v3.wasm.framework.unityweb:964:11)
    onAbort@file:///C:/Users/VSBarata/Desktop/CloudAnchors_11.06_v2/CloudAnchors_11.06_v2/WEBGLBuild_v3/Build/UnityLoader.js:1138:50
    abort (WEBGLBuild_v3.wasm.framework.unityweb:26806:10)
    _dlopen (WEBGLBuild_v3.wasm.framework.unityweb:9367:2)
    __ZN6il2cpp2osL19LoadLibraryWithNameEPKci (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[32122]:0xa4612e)
    __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEEi (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[32121]:0xa46055)
    __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEE (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[32120]:0xa45fad)
    __ZN6il2cpp2vm13LibraryLoader18LoadDynamicLibraryENS_5utils10StringViewIcEE (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[33601]:0xa6e359)
    __ZN6il2cpp2vm14PlatformInvoke7ResolveERK16PInvokeArguments (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[33776]:0xa74952)
    __Z22il2cpp_codegen_resolveRK16PInvokeArguments (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[34743]:0xa91e95)
    __Z30il2cpp_codegen_resolve_pinvokeIPFiPFvvEELm14ELm35EET_RAT0__KcRAT1__S5_20Il2CppCallConvention13Il2CppCharSetib (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[40452]:0xb4f36d)
    _ExternApi_ArCoreUnity_setArPrestoInitialized_m07FFF169BD92A44AD7E0393182DDE1A7E0E4C50D (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[40445]:0xb4f138)
    _ARPrestoCallbackManager__Initialize_m4872A54700835551379751AB19218867BD42A2AD (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[40444]:0xb4efdc)
    _ARPrestoCallbackManager_get_Instance_m03D95C9BB69B20356991BB262C6558F8ADA9A177 (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[40440]:0xb4eded)
    _ARCoreAndroidLifecycleManager_get_Instance_m4A1FE2FB6262647FEC62D5B04C9D378828465471 (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[40437]:0xb4ea74)
    _LifecycleManager_get_Instance_mDDC3D090E8A00DD237434723651ED7BC1A7F2562 (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[52865]:0xd75d05)
    _ARCoreSession_Awake_mE42AEAAB112938B7A9E5283D97CF65D96D109717 (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[37518]:0xad940c)
    __Z65RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017PFvvEPK10MethodInfoPvPS4_ (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[35952]:0xab0a35)
    __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[32964]:0xa5db1e)
    _il2cpp_runtime_invoke (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[31990]:0xa43049)
    __Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[4962]:0x1982ab)
    __ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[4960]:0x19806e)
    __ZN19ScriptingInvocation13InvokeCheckedEP21ScriptingExceptionPtr (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11530]:0x3d2ec2)
    __ZN22SerializableManagedRef10CallMethodER6Object18ScriptingMethodPtr (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11528]:0x3d2d9a)
    __ZN13MonoBehaviour9CallAwakeEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11563]:0x3d48a7)
    __ZN13MonoBehaviour12AddToManagerEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11552]:0x3d3b5f)
    __ZN9Behaviour13AwakeFromLoadE17AwakeFromLoadMode (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[8668]:0x2a3007)
    __ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11536]:0x3d34fe)
    __ZN18AwakeFromLoadQueue28InvokePersistentManagerAwakeEPNS_4ItemEj17AwakeFromLoadMode (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[5374]:0x1b692f)
    __ZN18AwakeFromLoadQueue30PersistentManagerAwakeFromLoadEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[5372]:0x1b6840)
    __ZN18LoadSceneOperation21CompleteAwakeSequenceEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[10499]:0x37ddd7)
    __ZN18LoadSceneOperation25PlayerLoadSceneFromThreadEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[10489]:0x37c17e)
    __ZN18LoadSceneOperation22CompleteLoadFirstSceneEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[10490]:0x37c547)
    __ZN18LoadSceneOperation19IntegrateMainThreadEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[10485]:0x37b911)
    __ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsEi (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11975]:0x3f911a)
    __ZN14PreloadManager35WaitForAllAsyncOperationsToCompleteEv (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11974]:0x3f8e60)
    __ZN19RuntimeSceneManager9LoadSceneERKN4core12basic_stringIcNS0_20StringStorageDefaultIcEEEES6_S6_RK9UnityGUIDiRK27InternalLoadSceneParameters (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11972]:0x3f8cf1)
    __Z21PlayerStartFirstSceneb (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11968]:0x3f867b)
    __Z20PlayerLoadFirstSceneb (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11963]:0x3f82b6)
    __Z15InitWebGLPlayeriPPc (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11671]:0x3db9b3)
    _main (blob:null/885be70d-9c97-4507-a49d-ce118e21799e line 1387 > WebAssembly.instantiate:wasm-function[11670]:0x3db672)
    UnityModule [UnityModule/Module._main] (WEBGLBuild_v3.wasm.framework.unityweb:25074:32)
    callMain (WEBGLBuild_v3.wasm.framework.unityweb:26702:20)
    doRun (WEBGLBuild_v3.wasm.framework.unityweb:26738:47)
    run (WEBGLBuild_v3.wasm.framework.unityweb:26750:3)
    runCaller (WEBGLBuild_v3.wasm.framework.unityweb:26686:28)
    removeRunDependency (WEBGLBuild_v3.wasm.framework.unityweb:1270:4)
    UnityModule/</unityFileSystemInit</<@blob:null/885be70d-9c97-4507-a49d-ce118e21799e:232:12
    doCallback (WEBGLBuild_v3.wasm.framework.unityweb:6154:11)
    done (WEBGLBuild_v3.wasm.framework.unityweb:6165:5)
    reconcile (WEBGLBuild_v3.wasm.framework.unityweb:5278:11)
    UnityModule/syncfs/</<@blob:null/885be70d-9c97-4507-a49d-ce118e21799e:5065:11 (WEBGLBuild_v3.wasm.framework.unityweb:5154:14)


    I searched a lot throughout Google but didn't seem to find a proper answer for this error.

    Any help would be much appreciated.

    Thanks
     
  2. vitorsantiago

    vitorsantiago

    Joined:
    May 3, 2019
    Posts:
    5
    This only seems to happen when I add any Google ARCore object to my scene. Can anyone help with this issue please?