Property 'MeshBuilder' does not exist

I’m using:
image
as my version of babylon

when I try to run BABYLON.MeshBuilder.CreatePlane, i get the error: “Property ‘MeshBuilder’ does not exist on type ‘typeof BABYLON’.”

If you are using the es6 packages you need to import the classes you need and use them directly. So in your code you will need to :slight_smile:
import { MeshBuilder } from "@babylonjs/core/Meshes/meshBuilder";

And also try avoiding using the BABYLON namespace. But that’s just a recommendation :slight_smile:

1 Like