Jump to content

LittlestTokyo.glb DRACO format model can not be displayed with sandbox


Recommended Posts

I tried to display the following DRACO format glb model with Babylon JS Sandbox. 


However, the following error occurred and the model was not displayed.

Uncaught (in promise) Error: #/meshes/38/primitives/0: undefined
    at babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
p._loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
p.loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylonjs.loaders.min.js:1
Promise.then (async)		
l.loadAsync	@	babylonjs.loaders.min.js:1
(anonymous)	@	babylon.js:1
f	@	babylon.js:1
n.onload	@	babylon.js:1
load (async)		
m.ReadFile	@	babylon.js:1
P._loadData	@	babylon.js:1
P.Append	@	babylon.js:1
P.Load	@	babylon.js:1
(anonymous)	@	babylon.js:1
P.LoadAsync	@	babylon.js:1
n.reload	@	babylon.js:1
n._processReload	@	babylon.js:1
n.loadFiles	@	babylon.js:1
n.drop	@	babylon.js:1
e._dropHandler	@	babylon.js:1


I confirmed that it can be displayed with BabylonJS Sandbox if it is a normal glb file which is not DRACO format.



Link to comment
Share on other sites

So the  error seems totally related to the one of the gltf validator:


This happens in the Draco library and my guess is we are using an older version of the library.

The files being not valid (gltf validator errors) means that in theory it should not load anyway.

But as other are able to load it, we will investigate whether we should also add support for it.

@bghgary for follow up.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...