The API document version is different from the released in npm

Npm’s relaesed version does not exist class WebXRControllerPointerSelection and
WebXRControllerModelLoader.

What version have you installed? latest, preview, or a specific version?

Just to elaborate, npm install @babylonjs/core will install the latest stable release.
npm install @babylonjs/core@preview will install the latest preview, with every class exists in the master branch.

2 Likes

@babylonjs/core”: “^4.0.3”,
@babylonjs/gui”: “^4.0.3”,
@babylonjs/loaders”: “^4.0.3”,

Please use the preview release to get the latest and greatest :slight_smile:
you can install the latest alpha, or simply use @preview . you can see the versions on npm: