Unity WebGL supports all major desktop browsers to some degree (8). However, the level of support and the expected performance varies between different browsers. Look at the feature matrix below to give you an overview of browser features of interest to Unity WebGL content, and which browsers support them.
Note that Unity WebGL content is not currently supported on mobile devices. It may still work, especially on high-end devices, but many current devices are not powerful enough and don’t have enough memory to support Unity WebGL content well. For this reason, Unity WebGL will show a warning message when trying to load content on mobile browsers (which can be disabled if needed).
Note that this compatibility matrix is valid for the specific versions of the browsers as stated. Browsers develop quickly, so a lot of this is likely to change in future browser versions.
Desktop browser compatibility matrix | ||||||
---|---|---|---|---|---|---|
Mozilla Firefox 42 | Google Chrome 46 | Apple Safari 9.0 | MS Internet Explorer 11 | MS Edge 13 | ||
WebGL Support ability to run Unity WebGL content | X (1) | X (1) | X (Safari 8 and higher) | X (IE 11 and higher) | X | |
Web Audio The Web Audio API is required to play sound in Unity WebGL content. | X | X | X | - | X | |
Fullscreen support | X | X | - (2) | X | X | |
Cursor Locking support | X | X | - | - | - (3) | |
Gamepad support | X | X | - | - | X | |
IndexedDB Required for local storage as used by the Data Caching feature, the PlayerPrefs class, and WWW.LoadFromCacheOrDownload. | X (4) | X | X (4) | X | X | |
WebSockets Required for Networking. | X | X | X | X | X | |
WebRTC Required by the WebCamTexture class. | X | X | - | - | X | |
WebGL 2.0 | - (5) | - | - | - | - | |
asm.js AOT compilation asm.js is a susbset of JavaScript for which a browser can specifically optimize. Browsers which implement asm.js support may be able to run Unity WebGL content faster, as Unity uses asm.js. | X | - | - | - | X | |
Notes | (6) | (7) |
Footnotes: