# ImportMeshAsync has some problem in some mobile browser

**URL:** <https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908>\
**Category:** Questions\
**Created:** [October 14, 2020, 11:45am UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908 "2020-10-14T11:45:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![99999](https://avatars.discourse-cdn.com/v4/letter/9/a183cd/32.png) [@99999](https://forum.babylonjs.com/u/99999)\
**Post date:** [October 14, 2020, 11:45am UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908/1 "2020-10-14T11:45:34Z")

</div>

In my android mobile, firefox browser and the built-in browser of the system. the page2 can not work normal.

the two pages js code is all the same except the file url.  
page1: [https://issuebox.github.io/babylonjs/instance/index4.html](https://issuebox.github.io/babylonjs/instance/index4.html)

page2: [https://issuebox.github.io/babylonjs/instance/index5.html](https://issuebox.github.io/babylonjs/instance/index5.html)

in page1, the glb file is small, it work ok! I can get the alert of “file loaded”!  
in page2, the glb file is larger, it did not end! I can not wait the alert of “file loaded”!

the main js code:

```auto
var canvas = document.getElementById("canvas");
var engine = new BABYLON.Engine(canvas, true);

async function init() {
  var scene = new BABYLON.Scene(engine);

  await BABYLON.SceneLoader.ImportMeshAsync(
    "",
    "./assets/",
    "ylw-thumb.glb",
    scene
  );
  alert("file loaded!");
  scene.createDefaultCameraOrLight(true, true, true);
  engine.runRenderLoop(function () {
    scene.render();
  });

  window.addEventListener("resize", function () {
    engine.resize();
  });
}
init();

```

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 14, 2020, 3:46pm UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908/2 "2020-10-14T15:46:08Z")

</div>

adding @RaananW

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 19, 2020, 7:06pm UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908/3 "2020-10-19T19:06:55Z")

</div>

Seems to be an issue with wasm (probably the draco compression):

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/f/ff522960a5a788ecb5dd6bc99f6feb65a2e1b56c.png)

@bghgary - any input on that? This is a mobile issue, desktop all works correctly.

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [October 19, 2020, 10:10pm UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908/4 "2020-10-19T22:10:45Z")

</div>

That doesn’t sound right. Is there a way to check if the js/wasm are matching? There shouldn’t be a difference between desktop and mobile.

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [October 19, 2020, 10:17pm UTC](https://forum.babylonjs.com/t/importmeshasync-has-some-problem-in-some-mobile-browser/14908/5 "2020-10-19T22:17:38Z")

</div>

Page 2 works fine for me on Android Chrome. Perhaps there is a caching issue?
