Home › Forums › General Questions › CORODVA – both async and sync fetching of the wasm failed
- This topic has 3 replies, 3 voices, and was last updated 2 years, 6 months ago by
Petro.
-
AuthorPosts
-
2023-05-12 at 11:09 am #63717
PetroCustomerI 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:12179Any possible help please ?
2023-05-12 at 1:18 pm #63729
Yuri KovelenovStaff2023-05-15 at 1:40 pm #63777
Alexander KovelenovStaffHi,
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.2023-05-24 at 3:38 pm #64027
PetroCustomerfor 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
-
AuthorPosts
- You must be logged in to reply to this topic.
