DRACOLoader not working on iOS11
See original GitHub issueDescription of the problem
Current example webgl_loader_draco
is not working under iOS11
Three.js version
- Dev
- r116
- …
Browser
- [] All of them
- Chrome
- Firefox
- Internet Explorer
- Safari
OS
- [] All of them
- Windows
- macOS
- Linux
- Android
- iOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
DracoLoader wasm not working in iOS? : r/threejs - Reddit
I compressed all my gltf models with the Draco compressor (with a 70% file size reduction!), I added the loader, the js wrapper...
Read more >How to use DRACOLoader with GLTFLoader in ReactJs?
I am able to run it using plain javascript but I am facing issues integrating the loader with ReactJs. What I am doing:...
Read more >Topic Modelling with NMF in Python
[Solved] NumPy.ndarray object is Not Callable Python · DRACOLoader with GLTFLoader in ReactJs? - Questions · 3 Easy Ways to Validate Forms in...
Read more >Draco glb
First you'll need to download the Draco encoder/decoder libraries (the versions currently published to NPM do not work client side), host them in...
Read more >DRACOLoader – three.js docs
Mesh( geometry, material ); scene.add( mesh ); }, // called as loading progresses ... DRACOLoader relies on ES6 Promises, which are not supported...
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
I think @sciecode has the right guess here, yes. Users need a Promise polyfill for IE11, probably the same fix would work on Safari 11 as well?
A PR to replace the
.finally
call with.catch(...).then(...)
would be OK with me, but I do not currently have time to write and test that fix. There is some longer-term work underway to rewrite DRACOLoader, in https://github.com/mrdoob/three.js/issues/18234.I vote to leave the code as it is and just update the browser support doc page instead.
https://threejs.org/docs/index.html#manual/en/introduction/Browser-support