I am exporting a Babylon.js scene using GLTF2Export.
The issue is that textures in the “images” section of the exported glTF are randomly missing.
Each export produces different missing textures.
Still, the problem persists.
public async createGltf(filename: string, scene?: BABYLON.Scene): Promise {
return GLTF2Export.GLTFAsync(this.scene, filename, {
shouldExportNode: (node) => node.isEnabled()
});
}