Prerequisites for WebAssembly64
Web performance considerations
Enable WebAssembly64
Enable WebAssembly64 so Unity Web builds can use up to 16 GB of memory.
Unity automatically enables WebAssembly64 if you configure a maximum memory size of more than 4 GB.
To enable WebAssembly64:
- Go to Edit > Project Settings.
- Select the Player category. The Player settings window shows.
- Select Publishing Settings.
- Set Maximum Memory Size to a value larger than 4096 MB.
Note: When you enable WebAssembly64, Unity automatically enables Target WebAssembly 2023.
Additional resources
Prerequisites for WebAssembly64
Web performance considerations
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。