Unable to load certain gltf (.glb) models
See original GitHub issueUnable to load these models, getting runtime error as described below. https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/Lantern/glTF-Binary https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/BarramundiFish/glTF-Binary
pixi3d version: 1.1.1
Please note: I was able to load these models in v0.9.8. Any help is appreciated.
pixi3d.js:10145 Uncaught TypeError: Cannot read properties of undefined (reading 'baseTexture')
at glTFParser../src/gltf/gltf-parser.ts.glTFParser.parseTexture (pixi3d.js:10145)
at new glTFParser (pixi3d.js:9965)
at Function../src/gltf/gltf-parser.ts.glTFParser.createModel (pixi3d.js:9974)
at Function../src/model.ts.Model.from (pixi3d.js:13325)
at PixiGLTFManager.getModel (pixi-gltf-manager.ts:67)
at showGTLFModel (index.ts:68)
at index.ts:261
at SafeSubscriber._next (pixi-gltf-manager.ts:41)
at SafeSubscriber.__tryOrUnsub (Subscriber.js:192)
at SafeSubscriber.next (Subscriber.js:130)
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Unable to load .glb and .gltf models #182 - expo/expo-three
Once the loader completes the model shows for a brief moment and then disappears. I've validated the model using the vs code gltf...
Read more >Getting error while loading glb file - Babylon.js Forum
To load from a specific filetype (eg. gltf) see: Loading Any File Type ... BJS - [19:59:31]: Unable to find a plugin to...
Read more >Unable to load GLTF object - Stack Overflow
First you can download the free 3d model gltf file from sketchfab and then convert it into glb format using this website.
Read more >Unable to Download GLB file with GLTFLoader - three.js forum
I have a problem with Downloading GLB file with GLTFLoader in React. It shows this error SyntaxError: Unexpected token < in JSON at...
Read more >Glb file not loading correctly - Bugs - Sketchfab Forum
It sounds like some instability on loading the .gbl file. Today I tried to load it again and now I didn't get those...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the help, fix is included in release 1.1.2.
Thanks! I noticed the issue you are experiencing only first time in Safari (not after that), Chrome works fine for me). I think I know what the issue could be, I’ll look into it.