We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

CORODVA – both async and sync fetching of the wasm failed

Home Forums General Questions CORODVA – both async and sync fetching of the wasm failed

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #63717
    Petro
    Customer

    I did export a project from app manager, setup the cordova project as is presented in the documentation.

    cordova run browser – work as expected – I can see in browser the project

    cordova run android display a 0% for the loader and nothing more load except than the HTML interface… In the console I can see error :

    ammo.wasm.js:11 Uncaught (in promise) RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.
        at abort (ammo.wasm.js:11:10487)
        at getBinary (ammo.wasm.js:11:11195)
    abort @ ammo.wasm.js:11
    getBinary @ ammo.wasm.js:11
    Promise.then (async)
    (anonymous) @ v3d.js:1
    _getAmmoJSPromise @ v3d.js:1
    (anonymous) @ v3d.js:1
    Promise.then (async)
    loadLogic @ v3d.js:1
    (anonymous) @ app_with_UI_template.js:36
    (anonymous) @ app_with_UI_template.js:45
    load (async)
    (anonymous) @ app_with_UI_template.js:5
    ammo.wasm.js:11 Uncaught (in promise) RuntimeError: abort(RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
        at abort (ammo.wasm.js:11:10487)
        at ammo.wasm.js:11:12179
    

    Any possible help please ?

    #63729

    Hi petro,

    looks like your app uses physics. We actually never tried converting a physics-enabled app to mobile via Cordova. Will check it on our side.

    Chief 3D Verger | LinkedIn | Twitter

    #63777

    Hi,
    just checked Cordova on Android with WASM physics and it appears to be working just fine. Are you launching this app on real hardware or inside the emulator? Please also provide more info on the configuration you use.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #64027
    Petro
    Customer

    for the moment, I did notice that the physics library was not needed for my app (https://play.google.com/store/apps/details?id=ro.webnou.mobilier) and I removed it.

    Besides, I noticed that clicking on the objects inside the app is not selecting them. Can you provide some hints? Should the selection of the objects work without any tricks? On my laptop selection is working fine.

    With kind regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.