-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gltf
/glb
models not loading in Microsoft Edge
#3871
Comments
The quick fix is including a TextDecoder polyfill, like https://github.com/samthor/fast-text-encoding. But I'm not sure why that's necessary, so, could you try adding this tag to the page <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
Tried the tag, but no dice. I left it in there anyway just to rule it out. I'll try the polyfill approach tomorrow to see if that works. Thanks again, Don. |
Please excuse the delayed response here, but adding the
That said, should A-Frame not work in Edge out of the box? Should the polyfill be included in core? |
I'm still not sure why the polyfill is even necessary... the relevant code in threejs is careful to check when TextDecoder is available, and use a fallback if not: Perhaps that check is being stripped in minification somewhere? |
The provided link above does not render on any browser for me. @dsinni Any working link you can provide for evaluation? |
@dmarcos https://bunker-bake.glitch.me/ works fine for me in chrome Version 71.0.3578.80 linux |
Thanks. I understood the problem was with Edge. I tried on |
Ah, I think that's because of another issue (#3868) with I have another version using I also just updated to the last If you enter full-screen view, you'll also notice the issue outlined in #3902 |
IE 11 / Edge is working on master and GLTF models included in the examples work for me (anime-UI, shopping). Not sure what's special about to model provided in the example. |
@dmarcos Hm, that's really odd because it's working for me in Firefox and Chrome, but not in Edge. I'm on Windows 10. Note that there are 2 links, which are very similar: The latter one should be working in Firefox and Chrome (at least I hope, as they are for me). |
Update: I updated A-Frame in the https://bunker-baked.glitch.me/ demo to the latest The issue still persists in Edge for me. All other browsers tested (Firefox, Chrome) work as expected. |
Congrats on the Just wanted to let you know that this issue is still persisting in I tried another 2 %ccomponents:gltf-model:warn %c'TextDecoder' is not defined%c color: orange color: inherit color: orange |
This was a bug in A-Frame Extras - the |
Aha! That did it. Thanks, @donmccurdy! |
Description:
gltf
andglb
models don't appear to be loading in Microsoft Edge on Windows, using the current A-Framemaster
branch.Console says:
and/or:
master
35384188aeac514aa23891f0daa8b5c9f7e4abfc
The text was updated successfully, but these errors were encountered: