Open PritishSehzpaul opened 1 year ago
Thank you for that detailed analysis!
I think what happened is that I was testing fixes for the Draco compression bug after pushing to github and forgot to stash those changes when publishing to npm.
I just updated npm to version 1.0.2, which should be good to go. I'll keep the issue open for a few more days just in case.
Another suggestion I want to make is to tag the versions in git as and when they are released to npm. It would really help with following up on which code is live.
What
My team and I are working to integrate gltf-asset-auditor into our internal tool. We installed the npm module from https://www.npmjs.com/package/@khronosgroup/gltf-asset-auditor/v/1.0.1 but kept on getting issues with
'KHR_draco_mesh_compression'
plugin in BabylonJS while loading glbs in@khronosgroup/gltf-asset-auditor\web-example
.On further analysis, I found that if we build
@khronosgroup/gltf-asset-auditor
from Github repo which does not contain 'KHR_draco_mesh_compression' inLine 463: await SceneLoader.AppendAsync('', glb.getBase64String(), this.scene, () => { }, 'KHR_draco_mesh_compression');
, import and run that inweb-example
the code works perfectly.On analyzing the node module, I saw that it contains
'KHR_draco_mesh_compression'
in version 1.0.1 and not in 1.0.0 and the Github code does not. Node Module -Github Source Code
Solution
@MikeFesta Can you please push a new version to npm repository without 'KHR_draco_mesh_compression' in
SceneLoader.AppendAsync()
?PS: Thank you for building this respository. Great work!