Search Unity

I need help with WebVr application

Discussion in 'AR/VR (XR) Discussion' started by rodolpheghio, May 17, 2018.

  1. rodolpheghio

    rodolpheghio

    Joined:
    May 17, 2018
    Posts:
    1
    Hi everyone! First of all I'm a beginner with OVR/WebGl/Unity:). So I've to make an application to visit an office with an OculusRift or a mouse for my school and I've to put this application into an html page.
    I've already finished both applications and the .exe file work for both of them and the .html work only for the mouse application. And the .htlm (webgl build) of the VR application don't work, I just open it and it load for something like 2minutes and the browser tell me this:

    "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 (vr.asm.framework.unityweb:2:27460)
    stackTrace (vr.asm.framework.unityweb:2:27631)
    abort (vr.asm.framework.unityweb:4:32904)
    _dlopen (vr.asm.framework.unityweb:2:164396)
    HAn (vr.asm.code.unityweb:27:1)
    GAn (vr.asm.code.unityweb:27:1)
    KLn (vr.asm.code.unityweb:27:1)
    vtn (vr.asm.code.unityweb:27:1)
    IOl (vr.asm.code.unityweb:4:1)
    HOl (vr.asm.code.unityweb:4:1)
    JOl (vr.asm.code.unityweb:4:1)
    sVn (vr.asm.code.unityweb:27:1)
    invoke_iii (vr.asm.framework.unityweb:2:351977)
    vvg (vr.asm.code.unityweb:6:1)
    eEg (vr.asm.code.unityweb:6:1)
    QTf (vr.asm.code.unityweb:9:1)
    TTn (vr.asm.code.unityweb:27:1)
    invoke_iiiii (vr.asm.framework.unityweb:2:335690)
    Vcn (vr.asm.code.unityweb:16:1)
    Rnn (vr.asm.code.unityweb:16:1)
    i1 (vr.asm.code.unityweb:7:1)
    eqb (vr.asm.code.unityweb:20:1)
    zLb (vr.asm.code.unityweb:11:1)
    sLb (vr.asm.code.unityweb:11:1)
    IMa (vr.asm.code.unityweb:17:1)
    $Kb (vr.asm.code.unityweb:11:1)
    F$ (vr.asm.code.unityweb:7:1)
    E$ (vr.asm.code.unityweb:7:1)
    Wnb (vr.asm.code.unityweb:20:1)
    Ynb (vr.asm.code.unityweb:20:1)
    Rnb (vr.asm.code.unityweb:20:1)
    bPb (vr.asm.code.unityweb:11:1)
    aPb (vr.asm.code.unityweb:11:1)
    _Ob (vr.asm.code.unityweb:11:1)
    WOb (vr.asm.code.unityweb:11:1)
    NNb (vr.asm.code.unityweb:11:1)
    nNb (vr.asm.code.unityweb:11:1)
    callMain (vr.asm.framework.unityweb:4:31269)
    doRun (vr.asm.framework.unityweb:4:31972)
    run (vr.asm.framework.unityweb:4:32158)
    runCaller (vr.asm.framework.unityweb:4:30786)
    removeRunDependency (vr.asm.framework.unityweb:2:34426)
    UnityLoader["06f6f822040b157e96e60b287911419f"]/</unityFileSystemInit</<@blob:null/e99f0bfb-9b92-4e7f-a8df-a4eb22be36ea:2:357
    doCallback (vr.asm.framework.unityweb:2:122664)
    done (vr.asm.framework.unityweb:2:122802)
    done (vr.asm.framework.unityweb:2:105865)
    UnityLoader["06f6f822040b157e96e60b287911419f"]/storeLocalEntry [IDBFS.storeLocalEntry] (vr.asm.framework.unityweb:2:104325)
    UnityLoader["06f6f822040b157e96e60b287911419f"]/IDBFS.reconcile/</<@blob:null/e99f0bfb-9b92-4e7f-a8df-a4eb22be36ea:2:106091
    UnityLoader["06f6f822040b157e96e60b287911419f"]/loadRemoteEntry [IDBFS.loadRemoteEntry/req.onsuccess] (vr.asm.framework.unityweb:2:104675)


    If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information."

    How can I fix that ?:(
    PS:I'm not an english speeker sorry If I've made some mistakes:confused:.