# ImportMeshAsync error

**URL:** <https://forum.babylonjs.com/t/importmeshasync-error/46504>\
**Category:** Bugs\
**Created:** [December 17, 2023, 9:57am UTC](https://forum.babylonjs.com/t/importmeshasync-error/46504 "2023-12-17T09:57:00Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![thomas](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thomas/32/29205_2.png) [@thomas](https://forum.babylonjs.com/u/thomas)\
**Post date:** [December 18, 2023, 2:34am UTC](https://forum.babylonjs.com/t/importmeshasync-error/46504/9 "2023-12-18T02:34:12Z")

</div>

It does not. For reference, previous answers to this question centered around something wrong with the loader import:

> [@importMesh of undefined from undefined version: undefined, exporter version: undefinedimportMesh has failed JSON parse](https://forum.babylonjs.com/t/importmesh-of-undefined-from-undefined-version-undefined-exporter-version-undefinedimportmesh-has-failed-json-parse/35264):
>
> Sorry for posting this as I have already seen a few others that are very similar. But I just can’t figure it out. I am unable to load models whatsoever after several days of trying. For example, I found this playground link here in the forum: But when I try to run it locally, I get the importMesh error. The only thing that I am doing differently is using the module imports (and webpack to build). I am able to get the demo app with the cylinder working using module imports and webpack, but…

> It looks like maybe you’re missing the GLTF loader. After you install the package “@babylonjs/loaders” then you can import GLTF loading support like below.
> 
> ```auto
> import "@babylonjs/loaders/glTF";
> 
> ```

> [@This error : undefined, exporter version: undfinedimportMesh has failed JSON PARSE](https://forum.babylonjs.com/t/this-error-undefined-exporter-version-undfinedimportmesh-has-failed-json-parse/27305):
>
> import { Scene, Engine, ArcRotateCamera, Vector3, Color3, SceneLoader, BoundingInfo } from 'babylonjs'; import 'babylonjs-loaders'; BABYLON.SceneLoader.ImportMesh( '', url, '', scene, (meshs, particleSystems, skeletons) =\> { meshes = meshs; and i load my file like this, it used to work but now its broken not sure why. im using npm and its a nextjs project. any ideas would be appreciated. I’m trying to load a glb model im on ba…

> Turns out it was a version mismatch with the babylonjs preview npm packages and 4.2.1
> 
> removing the preview package dependencies and updating the versions worked

However, as far as I can tell, I do not have a version mismatch and am importing the correct plugin.

---

_[View the full topic](https://forum.babylonjs.com/t/importmeshasync-error/46504)._
