Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by avlinnear · Feb 14, 2020 at 02:18 AM · webglserverdlllinking

How to implement Emscripten linking support for WebGl build?

In my web app I have upload and download methods that pull from an MS Azure server storage blob. Downloading information works fine since I'm just using UnityWebRequests. Unfortunately, to upload to Azure storage you must use Azure's API for storage manipulation so I've imported the proper libs for that. When it comes to uploading data to the server while running the web app in the browser I run into the error found at the end of the post.

I've looked for answers to find a work-around but haven't found any solutions that work and many seem to work (and I cannot remove any async functions/threading tasks).

How would I implement Emscripten's linking support into my project? Step-by-step instructions would be nice!

 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 (SMTC CGC Beta2.wasm.framework.unityweb:8:22295)
     at stackTrace [Object.stackTrace] (SMTC CGC Beta2.wasm.framework.unityweb:8:22466)
     at Object.onAbort (https://smtc-cgc.azurewebsites.net/Build/UnityLoader.js:4:11047)
     at abort (SMTC CGC Beta2.wasm.framework.unityweb:8:493247)
     at _dlopen (SMTC CGC Beta2.wasm.framework.unityweb:8:177073)
     at wasm-function[64565]:0x10b5127
     at wasm-function[65841]:0x10ee465
     at wasm-function[36719]:0xa6dbf6
     at wasm-function[36718]:0xa6db70
     at wasm-function[67107]:0x112ab33
     at dynCall_iii [Object.dynCall_iii] (SMTC CGC Beta2.wasm.framework.unityweb:8:466052)
     at invoke_iii (SMTC CGC Beta2.wasm.framework.unityweb:8:340263)
     at wasm-function[36717]:0xa6d923
     at wasm-function[67138]:0x112afbf
     at dynCall_vi [Object.dynCall_vi] (SMTC CGC Beta2.wasm.framework.unityweb:8:479893)
     at invoke_vi (SMTC CGC Beta2.wasm.framework.unityweb:8:366807)
     at wasm-function[36715]:0xa6d796
     at wasm-function[36714]:0xa6d6d5
     at wasm-function[48545]:0xd2533e
     at wasm-function[67101]:0x112aaa4
     at dynCall_ii [Object.dynCall_ii] (SMTC CGC Beta2.wasm.framework.unityweb:8:464651)
     at invoke_ii (SMTC CGC Beta2.wasm.framework.unityweb:8:337710)
     at wasm-function[48547]:0xd25481
     at wasm-function[67101]:0x112aaa4
     at dynCall_ii [Object.dynCall_ii] (SMTC CGC Beta2.wasm.framework.unityweb:8:464651)
     at invoke_ii (SMTC CGC Beta2.wasm.framework.unityweb:8:337710)
     at wasm-function[36755]:0xa6f261
     at wasm-function[45504]:0xc731b5
     at wasm-function[35699]:0xa3fb90
     at wasm-function[19875]:0x6818eb
     at wasm-function[67111]:0x112ab9b
     at dynCall_iiii [Object.dynCall_iiii] (SMTC CGC Beta2.wasm.framework.unityweb:8:467117)
     at invoke_iiii (SMTC CGC Beta2.wasm.framework.unityweb:8:342215)
     at wasm-function[35714]:0xa40d3d
     at wasm-function[67142]:0x112b01a
     at dynCall_vii [Object.dynCall_vii] (SMTC CGC Beta2.wasm.framework.unityweb:8:482002)
     at invoke_vii (SMTC CGC Beta2.wasm.framework.unityweb:8:370532)
     at wasm-function[27372]:0x8161d9
     at wasm-function[35710]:0xa409fa
     at wasm-function[24026]:0x741f07
     at wasm-function[24031]:0x742581
     at wasm-function[24023]:0x741cd1
     at wasm-function[24021]:0x741b99
     at wasm-function[24038]:0x742a23
     at wasm-function[35686]:0xa3edc6
     at wasm-function[35685]:0xa3ed88
     at wasm-function[67113]:0x112abd1
     at dynCall_iiiii [Object.dynCall_iiiii] (SMTC CGC Beta2.wasm.framework.unityweb:8:467849)
     at invoke_iiiii (SMTC CGC Beta2.wasm.framework.unityweb:8:343574)
     at wasm-function[35687]:0xa3f08a
 1bc730cc-0b8a-466b-a427-63f8e4de01cb:8 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:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:22295)
     at Object.stackTrace (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:22466)
     at Object.onAbort (https://smtc-cgc.azurewebsites.net/Build/UnityLoader.js:4:11047)
     at abort (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:493247)
     at _dlopen (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:177073)
     at wasm-function[64565]:0x10b5127
     at wasm-function[65841]:0x10ee465
     at wasm-function[36719]:0xa6dbf6
     at wasm-function[36718]:0xa6db70
     at wasm-function[67107]:0x112ab33
     at Object.dynCall_iii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:466052)
     at invoke_iii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:340263)
     at wasm-function[36717]:0xa6d923
     at wasm-function[67138]:0x112afbf
     at Object.dynCall_vi (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:479893)
     at invoke_vi (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:366807)
     at wasm-function[36715]:0xa6d796
     at wasm-function[36714]:0xa6d6d5
     at wasm-function[48545]:0xd2533e
     at wasm-function[67101]:0x112aaa4
     at Object.dynCall_ii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:464651)
     at invoke_ii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:337710)
     at wasm-function[48547]:0xd25481
     at wasm-function[67101]:0x112aaa4
     at Object.dynCall_ii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:464651)
     at invoke_ii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:337710)
     at wasm-function[36755]:0xa6f261
     at wasm-function[45504]:0xc731b5
     at wasm-function[35699]:0xa3fb90
     at wasm-function[19875]:0x6818eb
     at wasm-function[67111]:0x112ab9b
     at Object.dynCall_iiii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:467117)
     at invoke_iiii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:342215)
     at wasm-function[35714]:0xa40d3d
     at wasm-function[67142]:0x112b01a
     at Object.dynCall_vii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:482002)
     at invoke_vii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:370532)
     at wasm-function[27372]:0x8161d9
     at wasm-function[35710]:0xa409fa
     at wasm-function[24026]:0x741f07
     at wasm-function[24031]:0x742581
     at wasm-function[24023]:0x741cd1
     at wasm-function[24021]:0x741b99
     at wasm-function[24038]:0x742a23
     at wasm-function[35686]:0xa3edc6
     at wasm-function[35685]:0xa3ed88
     at wasm-function[67113]:0x112abd1
     at Object.dynCall_iiiii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:467849)
     at invoke_iiiii (blob:https://smtc-cgc.azurewebsites.net/1bc730cc-0b8a-466b-a427-63f8e4de01cb:8:343574)
     at wasm-function[35687]:0xa3f08a



Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

128 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Compile errors using WebGl plattform 2 Answers

Cannot load native dll in WebGL build 0 Answers

Realtime multiplayer over web server 0 Answers

Custom dll does not work with build -> works with editor - Unity 2019.4.38f 0 Answers

WebGL error after hosting 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges