Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


wasm2023

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.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool wasm2023 { get; set; }