Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

PlayerSettings.WebGL.wasm2023

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static bool wasm2023;

Description

If enabled, generated WebAssembly code targets WebAssembly 2023, a Unity-coined name for a selection of newer WebAssembly language features. These features include: sign-extension opcodes, non-trapping fp-to-int instructions, bulk memory, JS BigInt integration, WebAssembly.Table, native WebAssembly exceptions and SIMD. If disabled, the generated WebAssembly code targets the original WebAssembly MVP feature set. It requires Chrome ≥ 91 (May 2021), Firefox ≥ 89 (June 2021), or Safari ≥ 16.4 (March 2023). Note: The option to disable WebAssembly 2023 is deprecated and it will be removed in a future release. It's strongly recommended to enable this option now.