question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DRACOLoader not working on iOS11

See original GitHub issue
Description of the problem

Current example webgl_loader_draco is not working under iOS11

Screenshot 2020-05-20 at 23 58 17

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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
donmccurdycommented, May 21, 2020

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.

0reactions
Mugen87commented, May 21, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found