Project

General

Profile

Embedded Training Application Guide

Back to Table of Contents

Unity

Building a Unity Training Application

Troubleshooting

My Unity WebGL application doesn't work in Internet Explorer. How do I fix this?

Unity no longer officially supports Internet Explorer due to the deprecation of the Unity Web Player and will generally display a warning message to users that attempt to view a Unity WebGL application through any version of Internet Explorer. Users can still attempt to show the Unity application by pressing the "OK" button on the warning message that's shown, but older versions of Internet Explorer will still be unable to show anything, since they lack the browser APIs needed in order to allow Unity WebGL applications to run properly (namely WebGL itself).

Fortunately, Internet Explorer 11 supports most of the main browser APIs required by Unity WebGL applications and will generally run them fine, with a few caveats. Due to some missing browser APIs, IE 11 does not support audio, cursor locking, gamepads, WebGL 2.0 features, or live web cam input (via WebRTC), so these features will be unavailable to users running your application in Internet Explorer. Unity WebGL applications in IE 11 will also likely run slower than they would in newer browsers, since IE 11 lacks some of the APIs Unity uses to optimize how its WebGL applications are shown.

Unity WebGL applications created using Unity version 5.6 may also suffer from a IE-specific bug that causes an error to occur at load-time, preventing them from running even in IE 11. Patch 5.6.1p4 fixes this problem, so Unity WebGL applications built in 5.6 can be rebuilt using this patch in order to properly run in IE 11.

If Internet Explorer 11 doesn't support all of the features you'd like to use in your training application during a course, you might want to consider adding a message at the beginning of your course recommending that your learners use a different browser. In terms of features and performance, Mozilla Firefox provides, by far, the best support for Unity WebGL applications and should be the preferred browser when available. Google Chrome and Microsoft Edge also provide similar levels of support with only minor disadvantages compared to Firefox, so they can usually be used interchangeably.