Documentation

Unity Engine

Unity Engine

JobWorkerMaximumCount

Maximum number of worker threads available to the Unity JobQueue (Read Only).
Read time 1 minuteLast updated a month ago

Definition

public static int JobWorkerMaximumCount { get; }

Remarks

This property determines the maximum number of worker threads when you set the JobWorkerCount property. This value is read-only at runtime, but you can set it with the command line argument
-job-worker-count value
for the Editor or standalone Players. Unity ignores this setting if this value exceeds the default value that the runtime selects for the specific platform and hardware.