Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


initialMemorySize

Initial size of the WASM heap memory in MB.
Read time 1 minuteLast updated 5 days ago

Definition

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

Remarks

The size in MB of heap memory that is availale for WebAssembly code (Recommended default: 32 MB). If the memory growth mode is set to none this is also the maximum size of available heap memory.