Simple glb object do not load in Scene Viewer #2951
Replies: 2 comments 4 replies
-
Agreed the lack of logs is annoying; that's one of the big disadvantages with intenting out of the browser. With WebXR you can get a lot more detailed feedback. In this case I'd bet the problem is Glitch, likely something about that little query param on the end of the GLB's URL. I tested your model in Scene Viewer using our Editor and mobile deploy and it works fine, so there's no problem with your file. |
Beta Was this translation helpful? Give feedback.
-
So the model in question is technically valid, but it confused our parser; the GLB file has a binary section containing 25844 bytes of data, but also includes said 25k of data as a base64 encoded URI. The binary section and the base64-decoded data match in size and content. Given that no other loaders flag this data duplication as an error, I'll get a fix submitted to ignore the situation where the binary content is provided twice. Per the other question, we don't surface low level loading errors out to the user. If you have developer mode enabled, you may be able to get logcat output for aGSA, but in this case it wouldn't tell you much, emitting something like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
None of the glb objects that I made loads properly in Scene Viewer. It only says "Couldn't load Object". I wish I could see logs or anything else to help me debug this.
Live Demo
https://sceneview.glitch.me/
Version
Browser Affected
OS
AR
Screenshot:
3D Model:
3DMenu3_BabylonJS.zip
Beta Was this translation helpful? Give feedback.
All reactions