Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

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

Discussion in 'Scripting' started by Homeak16, Mar 14, 2018.

  1. Homeak16

    Homeak16

    Joined:
    Feb 27, 2017
    Posts:
    19
    Hello,

    I'm trying to make an 3d model viewer in Unity.
    1. It's WebGL.
    2. It must be in runtime.
    3. For begging my target is Obj and FBX.

    Problem:
    I found some code for it, made some improvements and it worked on Windows, standalone.

    On WebGL i get error:

    An error occured 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
    ...
    ...
    If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.


    I thing this is from multi-threading.

    My questions:
    1. What is "Emscripten's linking support" about?
    2. How can i avoid this error?
    I really don't want to rewrite whole .dll for this.

    I searched on Google, but most of questions about my problem are ignored and stay with no answer for long time.

    Best regards,
    Homeak
     
    vitorsantiago likes this.
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,140
    I doubt the questions are ignored. People just may not know. I've never even heard of whatever you're trying to use. WebGL has come a long ways, but it still has some limitations. It's very possible whatever you're trying to use (Emscripten's linking support) just isn't compatible with Unity's WebGL.

    I did poke around that link, but I don't really have time to understand it's purpose. Sorry I can't really be of much help. You might try the webgl subforums https://forum.unity.com/forums/webgl.84/
     
  3. Homeak16

    Homeak16

    Joined:
    Feb 27, 2017
    Posts:
    19
    Thx for advice.
    I will try.
     
  4. Sam_Wilson

    Sam_Wilson

    Joined:
    May 23, 2018
    Posts:
    1
    do you solve this problem ? I occured it too....
     
  5. unity_fRTMVI3G8kWxwg

    unity_fRTMVI3G8kWxwg

    Joined:
    Jul 19, 2018
    Posts:
    2
  6. ishwara_bhat

    ishwara_bhat

    Joined:
    Oct 18, 2018
    Posts:
    11
    I got this too. My usecase - from webGL game I need to allow download of a desktop version of the game. I do not want to expose the URL.
    It occurred with 2018.3 0f2.
     
  7. yeagob

    yeagob

    Joined:
    Jan 27, 2014
    Posts:
    18
    I have same problem acceding to a web server to ask for data...
     
  8. KoonDuck

    KoonDuck

    Joined:
    Nov 26, 2018
    Posts:
    2
    I have same problem with sqlite plugin
     
  9. jean-paul_unity149

    jean-paul_unity149

    Joined:
    Jun 24, 2019
    Posts:
    2
    Same issue here, clean WebGL project
     
  10. Gnoktade

    Gnoktade

    Joined:
    Oct 23, 2020
    Posts:
    3
    still the same problem. have you ever solved? please help me
    thank you
     
  11. bansheesoft

    bansheesoft

    Joined:
    Oct 3, 2014
    Posts:
    60
    Ansel from NVIDIA was my issue. Just hope it helps someone. Took hours to find.