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.

GLTFLoader: Examples reportedly failing in IE11

See original GitHub issue

Per Stack Overflow (https://stackoverflow.com/q/52144252/1314762, https://stackoverflow.com/questions/51558365/how-to-load-gltf-scene-in-threejs-using-ie11), GLTFLoader is reportedly not working in IE11 even when the Promise polyfill is included. Our example pages do not include the polyfill at all, and therefore also do not work.

I think we should:

  • Verify Promise polyfill is still the only thing needed to make GLTFLoader work in IE11
  • If not, update either the loader or the docs.
  • Add the promise polyfill to the existing glTF examples, with an <!--[if IE]> block, if we want them to work in IE11.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Mugen87commented, Jan 12, 2019

In this case I vote to close the issue since I’m not aware of that we’ve put polyfills in other examples. Besides, the comprehensive documentation page about GLTFLoader already notes the need for a polyfill in context of IE 11.

1reaction
vyv03354commented, Sep 6, 2018

IE 10+ no longer supports conditional comments (such as <!–[if IE]>). IE 11 will ignore conditional comments just like other modern browsers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is the gltf loader from three.js incompatible with ie11?
GLTFLoader is compatible with IE11, but requires that you "polyfill" certain features that are missing in IE11. In practice, that means you ...
Read more >
GLTFLoader – three.js docs
GLTFLoader. A loader for glTF 2.0 resources. glTF (GL Transmission Format) is an open format specification for efficient delivery and loading of 3D...
Read more >
three-gltf-loader - npm
Starting with three.js r103, GLTFLoader is included in the three package itself and installing three-gltf-loader is no longer necessary.
Read more >
three-gltf-loader examples - CodeSandbox
Learn how to use three-gltf-loader by viewing and forking example apps that make use of three-gltf-loader on CodeSandbox. 3D dice roll using Three...
Read more >
GLTF Model Loader - Three.js Tutorials - sbcode.net
import * as THREE from 'three' import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls' import { GLTFLoader } from ...
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