You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
If the scene entity has a draco decoder defined in gltf-model attribute such as "dracoDecoderPath: src/lib/;" it is not utilized in the gltf-part component and thus the part will not be loaded and the following error is displayed in the console: Error: THREE.GLTFLoader: No DRACOLoader instance provided.
Expected behavior:
If gltf-model attribute is defined in scene entity and gltf-part is used to load a draco encoded gltf / glb file then the file should decode and display as expected
The text was updated successfully, but these errors were encountered:
Not sure if useful to submit pull request as I think my method is a bit hacky to get the draco loader in the init function of the gltf-part component: this.dracoLoader = document.querySelector('a-scene').systems['gltf-model'].getDRACOLoader();
Issue:
If the
scene
entity has a draco decoder defined ingltf-model
attribute such as"dracoDecoderPath: src/lib/;"
it is not utilized in the gltf-part component and thus the part will not be loaded and the following error is displayed in the console:Error: THREE.GLTFLoader: No DRACOLoader instance provided.
Expected behavior:
If gltf-model attribute is defined in scene entity and gltf-part is used to load a draco encoded gltf / glb file then the file should decode and display as expected
The text was updated successfully, but these errors were encountered: