Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


threadsSupport

Multithreading support in WebGL.
Read time 1 minuteLast updated 13 days ago

Definition

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

Remarks

When enabled, Unity generates a WebGL build with multithreading support enabled. This support allows C/C++ code and C# jobs compiled with the Burst compiler to run on separate threads. The generated content requires a browser that supports WebAssembly threads (SharedArrayBuffer). Multithreading standard C# code is not yet available.