Require extension CVTOOLS_babylon_mesh is not available

I have an error loading a gltf file:

Require extension CVTOOLS_babylon_mesh is not available

I guess I’m missing a file, but which js file, but which one would it be?

Tried:
babylonjs.loaders.js
babylon.glTF2FileLoader.js
babylon.glTFFileLoader.js

Thanks.

Hello is it in the context of Unity toolkit? Can you provide more info?

Hi @Deltakosh, yes using Unity Toolkit export. I tried to load the generated model in “clean” project, but get that error. If I try to load that one in sandbox I get the same error. It does load in project generated by toolkit.

Adding @MackeyK24

The error is telling you that you dont have the required extension (which are in babylon.manager.js)

If you wanna use the raw geometry only in a project without babylon.manager.js then you need to select these options:

  • Primitives instead of sub meshes
  • Right handed instead of left handed
  • And disable Unity Metadata

Note: You will only get RAW GEOMETRY including any materials and animations… Nothing else that babylon.manager.js provides like shadows, lightmaps, reflection probes, script components, etc…

Thanks Mackie, so as I understand I would need to import babylon.manager.js, currently need to use 4.20 as there are some input problems in Babylon 5. Is it backwards compatible?

I also saw there seems to be bindings for photon and socket, can’t find information on documentation, is it a to-be-enabled in the future, or how can I use it?

The Socket.IO and Photon Engine options are there to basically LOAD the javascript library on the host page as well as .d.ts files are in the project. You would just code up your networking using either library.

Or you say no networking lib and provide another networking solution