Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


memorySize

Memory size for WebGL builds in MB. This property has been deprecated.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. memorySize is deprecated. Use initialMemorySize and maximumMemorySize instead.
public static int memorySize { get; set; }

Remarks

Size of the memory available for WebGL builds. This setting has been deprecated and does not have any effect on WebAssembly builds. For information on Unity WebGL memory, refer to Memory Considerations when targeting WebGL.