Version: 2022.2
WebGL Introduction
WebGL graphics

WebGL browser compatibility

Unity’s WebGL support for desktop browsers differs depending on the browser. It supports browsers only if the following conditions are true:

  • The browser is WebGL 2 capable. Note: Unity no longer provides support for WebGL 1 in builds created with the Auto Graphics API option. For more details, see WebGL 1 deprecation.
  • The browser is HTML 5 standards-compliant.
  • The browser is 64-bit and supports WebAssembly.

Unity WebGL doesn’t support mobile devices. It might work on high-end devices, but current devices are often not powerful and don’t have enough memory to support Unity WebGL content.

Unity WebGL supports some compressed texture formats. For information on the compressed texture formats that Unity WebGL supports, see Recommended, default, and supported texture compression formats, by platform.

Desktop Browser Desktop Platforms
Google Chrome Windows, macOS, Linux
Mozilla Firefox Windows, macOS, Linux
Apple Safari macOS
Microsoft Edge Windows, macOS, Linux

ノート:

  • Apple Safari doesn’t support WebGL 2 in versions before Safari 15.
  • Apple Safari doesn’t support IndexedDB for content running in an iFrame.
  • Only Mozilla Firefox supports the Large-Allocation HTTP header. For information about the Large-Allocation HTTP header, see Memory in WebGL.

WebGL 1 deprecation

From Unity 2022.1, the Auto Graphics API setting no longer includes WebGL 1 Graphics API. However, if you still need to add support for WebGL 1 in your project then follow these steps:

  1. Open the Player Settings window and expand the Other Settings section.
  2. Disable the Auto Graphics API option and explicitly add WebGL 1 (Deprecated) to the Graphics API list. Unity will remove support for WebGL1 entirely in Unity 2023.1

WebGL 1 graphics card blocklists

GPU blocklists apply. Older graphics cards might not support WebGL. For more information, see:


  • WebGL 1 deprecated from the Auto Graphics API list in 2022.1
  • Brotli 圧縮はマニュアル 5.6 で最初に記載
  • 2019.1 の最新の互換性情報に更新されました。
WebGL Introduction
WebGL graphics