> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/downloads/limitations-of-webgl-plugin.md).

# WebGL 插件的限制

### 大小限制

iOS 浏览器对 WebGL 构建的大小施加严格限制。这些限制主要是由于：

* 内存限制：iOS 设备可用于 Web 应用程序的可用内存有限，这会影响运行大型 WebGL 构建的性能和可行性。
* 浏览器存储配额：Safari 和其他 iOS 浏览器会限制可在本地存储的数据量。这包括缓存和 Indexed DB，它们通常用于存储 WebGL 构建的资源。

### 主要限制

* 可下载资源的最大大小：iOS 浏览器可能会限制单个可下载资源的大小。大型资源可能无法加载，导致应用程序崩溃。
* 总构建大小：为保证流畅性能，所有资源合计的总大小最好控制在 50-100 MB 以下。超过此限制可能会导致崩溃或极其缓慢的加载时间。
* 内存使用：与桌面环境相比，iOS 设备通常可用的 RAM 更少。WebGL 构建的高内存占用可能会导致浏览器频繁崩溃。

### 浏览器兼容性

* Safari：iOS 上的默认浏览器 Safari 通常是 WebGL 构建的最佳选择，但与其他桌面浏览器相比，它仍然有明显的限制。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/downloads/limitations-of-webgl-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
