Replies: 1 comment 3 replies
-
Is it valid? https://github.khronos.org/glTF-Validator/ Often some importers handle certain types of invalid files, but it can't be relied upon. If it has no errors, then file a bug on the three.js GLTFImporter. |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hi there everybody:
I have a GLB I'm generation from BabylonJS, using the export API.
I want to use that GLB into model-viewer, this web component raises the following exception:
TypeError: can't access property "name", s is undefined
The console warns about the following (space-opera.js 70437:25)
TypeError: can't access property "name", nodeDef is undefined _loadNodeShallow https://modelviewer.dev/dist/space-opera.js:68848 loadNode https://modelviewer.dev/dist/space-opera.js:68777 dependency https://modelviewer.dev/dist/space-opera.js:67436 _invokeOne https://modelviewer.dev/dist/space-opera.js:67385 getDependency https://modelviewer.dev/dist/space-opera.js:67434 loadAnimation https://modelviewer.dev/dist/space-opera.js:68585 dependency https://modelviewer.dev/dist/space-opera.js:67488 _invokeOne https://modelviewer.dev/dist/space-opera.js:67385 getDependency https://modelviewer.dev/dist/space-opera.js:67486 dependencies https://modelviewer.dev/dist/space-opera.js:67538 getDependencies https://modelviewer.dev/dist/space-opera.js:67536 parse https://modelviewer.dev/dist/space-opera.js:67232
I'm pretty sure that is a problem with the ThreeJS import GLB API, but it is opened without problems with BabylonJS Sandbox, Windows 10 3D Viewer, Blender, ...
So how can I debug what is happening here?
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions