Unity’s WebGL support for desktop browsers differs depending on the browser. It supports browsers providing the following conditions are true:
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 |
注意:
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:
GPU blocklists apply. Older graphics cards might not support WebGL. For more information, see: