Getting error while loading glb file

logger.js:33 BJS - [19:59:31]: Unable to find a plugin to load .glb files. Trying to use .babylon default plugin. To load from a specific filetype (eg. gltf) see:
Loading Any File Type | Babylon.js Documentation.

async function CreateModel():Promise{

   await SceneLoader.ImportMeshAsync("","./models/","scene.glb");


I have installed babylonjs / loaders as well

logger.js:43 BJS - [20:13:46]: Unable to import meshes from importMesh of undefined from undefined version: undefined, exporter version: undefinedimportMesh has failed JSON parse

I am also getting this error as well

“PBR_Spheres.glb” , scene, function(newMeshes){

let candy = newMeshes[0];

candy.scaling = new Vector3(30,30,30);

let candyColor = new StandardMaterial(“candyCol”, scene);

candyColor.diffuseColor = new Color3(0, 1, 0);

candy.material = candyColor;


Did you check if your file is really there?
Or, in other words, make sure that model URL opens with no problems.