Skip to content

Release v0.7.6

In this maintenance release we’ve updated all internal dependencies to the latest versions. The major internal changes are that we’ve switched to the latest Emscripten toolchain to build WASM modules and the latest Typescript bundler and transpilers for Javascript parts of the SDK.

Yet being well tested and verified as we do with all releases of the SDK, this version is not advertised as 100% stable because of much bigger number of internal changes than usual. We still recommend to try it out to provide smoother transition to the next versions, and rollback if anything goes wrong.

This release switches to the next major version 8.2 of Babylon.js. In additional to many new good features introduced in Babylon.js 8 this version fixes several things in keeping WebGL state consistent. These fixes provide safer sharing of WebGL context between Babylon rendering engine and Engeenee SDK.

The release doesn’t introduce any changes of the SDK’s API, therefore being fully backward compatible. Kindly note, that with the major release of Babylon.js engine some things became deprecated on its side. For example, in virtual try-on apps 3D asset loading APIs are used pretty frequently and loadAssetContainerAsync is deprecated in favor of LoadAssetContainerAsync.

The next diff shows how to refactor to the newer LoadAssetContainerAsync:

const gltf = await SceneLoader.LoadAssetContainerAsync(
"", "asset.glb", this.scene, undefined, ".glb");
const gltf = await LoadAssetContainerAsync(
"asset.glb", scene, { pluginExtension: ".glb" });