Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Uncaught abort error Webgl

Discussion in 'WebGL' started by DavidGinnopulse, Apr 4, 2019.

  1. DavidGinnopulse

    DavidGinnopulse

    Joined:
    Mar 26, 2019
    Posts:
    2
    Hello
    I'm having a problem to export my project to Webgl in Google Chrome browser.

    I'm updating an old project that it was made in Unity 5.0, and i'm currently using Unity 2018.3.10f1, in the editor and play mode everything works correctly. The problem appears when building the project to webgl, at first it seems to work, you can use the menu just fine but when you click in one of the prebuilt rooms, this error pops up:
    An error occurred running the Unity content on this page. See your browser JavaScript console for more info.
    The error was: Uncaught abort ("To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking") at error

    To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking
    printErr @ UnityLoader.js:1044
    UnityLoader.js:417 Invoking error handler due to
    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 (Debugbuild.01.wasm.framework.unityweb:694:12)
    at stackTrace [Object.stackTrace] (Debugbuild.01.wasm.framework.unityweb:708:11)
    at Object.onAbort (http://localhost:54382/Build/UnityLoader.js:1039:50)
    at abort (Debugbuild.01.wasm.framework.unityweb:30820:20)
    at _dlopen (Debugbuild.01.wasm.framework.unityweb:11030:2)
    at __ZN6il2cpp2osL19LoadLibraryWithNameEPKci [il2cpp::eek:s::LoadLibraryWithName(char const*, int)] (wasm-function[87304]:5)
    at __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEEi [il2cpp::eek:s::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView<char> const&, int)] (wasm-function[87303]:159)
    at __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEE [il2cpp::eek:s::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView<char> const&)] (wasm-function[87302]:5)
    at __ZN6il2cpp2vm13LibraryLoader11LoadLibraryENS_5utils10StringViewIcEE [il2cpp::vm::LibraryLoader::LoadLibrary(il2cpp::utils::StringView<char>)] (wasm-function[88061]:9)
    at __ZN6il2cpp2vm14PlatformInvoke7ResolveERK16PInvokeArguments [il2cpp::vm::platformInvoke::Resolve(PInvokeArguments const&)] (wasm-function[86665]:196)
    at __Z30il2cpp_codegen_resolve_pinvokeIPFiiELj5ELj6EET_RAT0__KcRAT1__S3_20Il2CppCallConvention13Il2CppCharSetib [int (*il2cpp_codegen_resolve_pinvoke<int (*)(int), 5u, 6u>(char const (&) [5u], char const (&) [6u], Il2CppCallConvention, Il2CppCharSet, int, bool))(int)] (wasm-function[42018]:78)
    at dynCall_iiiiiii (wasm-function[88826]:24)
    at dynCall_iiiiiii [Object.dynCall_iiiiiii] (Debugbuild.01.wasm.framework.unityweb:28938:42)
    at invoke_iiiiiii (Debugbuild.01.wasm.framework.unityweb:18935:35)
    at _Platform_uname_m0769828FE0BC855E1DE4129D7EBE09E999D7AB7D (wasm-function[42016]:114)
    at dynCall_iii (wasm-function[88768]:16)
    at dynCall_iii [Object.dynCall_iii] (Debugbuild.01.wasm.framework.unityweb:28648:38)
    at invoke_iii (Debugbuild.01.wasm.framework.unityweb:18471:31)
    at _Platform_CheckOS_mE140C06A839F2EA49C9A0FE795A85311E283CC45 (wasm-function[42014]:294)
    at dynCall_vi (wasm-function[89011]:15)
    at dynCall_vi [Object.dynCall_vi] (Debugbuild.01.wasm.framework.unityweb:29863:37)
    at invoke_vi (Debugbuild.01.wasm.framework.unityweb:20415:23)
    at _Platform_get_IsMacOS_m7E1B4DAEFA519F65C50D16CC5DEA7A9FA0EE4D77 (wasm-function[42012]:104)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _WebProxy_CreateDefaultProxy_m0F1C8D957370920707869349941412B6BC3323A5 (wasm-function[42011]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _DefaultProxySectionInternal_GetSystemWebProxy_m7BE3F8E1011DD7156B05BEA3264DB8ED549072C0 (wasm-function[58568]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _DefaultProxySectionInternal_GetDefaultProxy_UsingOldMonoCode_m1FBAB2FA8C0B87ADA0523CAA34F9D5230098A795 (wasm-function[58567]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _DefaultProxySectionInternal_GetSection_mC140525EBD14DF74602DFCA7AFECE376AFADE34F (wasm-function[58570]:241)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _WebRequest_get_InternalDefaultWebProxy_m13E2CAB3FE298CF26023A3626454FE989CF687C7 (wasm-function[42055]:468)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    at _WebRequest_get_DefaultWebProxy_m65F367761268F3797F96B8BE99F85FF8CB1C117A (wasm-function[42056]:146)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at dynCall_ii [Object.dynCall_ii] (Debugbuild.01.wasm.framework.unityweb:28548:37)
    at invoke_ii (Debugbuild.01.wasm.framework.unityweb:18311:30)
    blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:6948 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:54382/6900aaff-b830-4152-897a-95b4bf873f1d:694:12)
    at Object.stackTrace (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:708:11)
    at Object.onAbort (http://localhost:54382/Build/UnityLoader.js:1039:50)
    at abort (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:30820:20)
    at _dlopen (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:11030:2)
    at __ZN6il2cpp2osL19LoadLibraryWithNameEPKci [il2cpp::eek:s::LoadLibraryWithName(char const*, int)] (wasm-function[87304]:5)
    at __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEEi [il2cpp::eek:s::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView<char> const&, int)] (wasm-function[87303]:159)
    at __ZN6il2cpp2os13LibraryLoader18LoadDynamicLibraryERKNS_5utils10StringViewIcEE [il2cpp::eek:s::LibraryLoader::LoadDynamicLibrary(il2cpp::utils::StringView<char> const&)] (wasm-function[87302]:5)
    at __ZN6il2cpp2vm13LibraryLoader11LoadLibraryENS_5utils10StringViewIcEE [il2cpp::vm::LibraryLoader::LoadLibrary(il2cpp::utils::StringView<char>)] (wasm-function[88061]:9)
    at __ZN6il2cpp2vm14PlatformInvoke7ResolveERK16PInvokeArguments [il2cpp::vm::platformInvoke::Resolve(PInvokeArguments const&)] (wasm-function[86665]:196)
    at __Z30il2cpp_codegen_resolve_pinvokeIPFiiELj5ELj6EET_RAT0__KcRAT1__S3_20Il2CppCallConvention13Il2CppCharSetib [int (*il2cpp_codegen_resolve_pinvoke<int (*)(int), 5u, 6u>(char const (&) [5u], char const (&) [6u], Il2CppCallConvention, Il2CppCharSet, int, bool))(int)] (wasm-function[42018]:78)
    at dynCall_iiiiiii (wasm-function[88826]:24)
    at Object.dynCall_iiiiiii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28938:42)
    at invoke_iiiiiii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18935:35)
    at _Platform_uname_m0769828FE0BC855E1DE4129D7EBE09E999D7AB7D (wasm-function[42016]:114)
    at dynCall_iii (wasm-function[88768]:16)
    at Object.dynCall_iii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28648:38)
    at invoke_iii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18471:31)
    at _Platform_CheckOS_mE140C06A839F2EA49C9A0FE795A85311E283CC45 (wasm-function[42014]:294)
    at dynCall_vi (wasm-function[89011]:15)
    at Object.dynCall_vi (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:29863:37)
    at invoke_vi (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:20415:23)
    at _Platform_get_IsMacOS_m7E1B4DAEFA519F65C50D16CC5DEA7A9FA0EE4D77 (wasm-function[42012]:104)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _WebProxy_CreateDefaultProxy_m0F1C8D957370920707869349941412B6BC3323A5 (wasm-function[42011]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _DefaultProxySectionInternal_GetSystemWebProxy_m7BE3F8E1011DD7156B05BEA3264DB8ED549072C0 (wasm-function[58568]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _DefaultProxySectionInternal_GetDefaultProxy_UsingOldMonoCode_m1FBAB2FA8C0B87ADA0523CAA34F9D5230098A795 (wasm-function[58567]:82)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _DefaultProxySectionInternal_GetSection_mC140525EBD14DF74602DFCA7AFECE376AFADE34F (wasm-function[58570]:241)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _WebRequest_get_InternalDefaultWebProxy_m13E2CAB3FE298CF26023A3626454FE989CF687C7 (wasm-function[42055]:468)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)
    at _WebRequest_get_DefaultWebProxy_m65F367761268F3797F96B8BE99F85FF8CB1C117A (wasm-function[42056]:146)
    at _GC_call_with_alloc_lock (wasm-function[87855]:13)
    at Object.dynCall_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:28548:37)
    at invoke_ii (blob:http://localhost:54382/6900aaff-b830-4152-897a-95b4bf873f1d:18311:30)

    Any clue of what could be causing this error?

    Cheers
    David.
     
    MNNoxMortem likes this.
  2. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    209
    Looks like you're using the System.Net.HttpWebRequest class (looks like it's freaking out looking for the system proxy). You'll want to make web requests with Unity's UnityWebRequest API, replacing the HttpWebRequest usages. If you're not doing this directly then maybe one of the third party plugins (if you're using any) may be the issue.
     
    ishwara_bhat and MNNoxMortem like this.
  3. DavidGinnopulse

    DavidGinnopulse

    Joined:
    Mar 26, 2019
    Posts:
    2
    Thanks for the quick response, i will check that out and see if it works
     
  4. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    436
    We have seen the exact same behaviour with System.Net.NetworkInformation and as JJJohan pointed out the only way is to remove the non-supported reference.
     
  5. ishwara_bhat

    ishwara_bhat

    Joined:
    Oct 18, 2018
    Posts:
    11
    Thanks a lot. You saved lot of effort for me.