Passing glb from threejs scene to modelviewer with GLTFExporter error #3664
Unanswered
ZackARC-solutions
asked this question in
Q&A
Replies: 1 comment
-
Have you found a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to pass a glb created in a threejs scene to webxr / quicklook via GLTFExporter.
let modelViewer = document.getElementById("ar-viewer");
exporter = new THREE.GLTFExporter();
exporter.parse(
group,
function (gltf) {
var Url = saveArrayBuffer(gltf, "scene.glb");
modelViewer.setAttribute("src", Url);
setTimeout(() => {
URL.revokeObjectURL(Url);
}, 2000);
},
{ binary: true }
);
This has worked fine in the past, however, I now am receiving a
WebKitBlobResource error 1 on iOS (TypeError: Load failed)
and
TypeError: Failed to fetch
Is anyone else receiving these errors?
Beta Was this translation helpful? Give feedback.
All reactions