Search Unity

Resolved JobWorkerMaximumCount is 2, which is much smaller than processorCount, which is 8

Discussion in 'Entity Component System' started by zhangdong304, Apr 26, 2023.

  1. zhangdong304

    zhangdong304

    Joined:
    Mar 21, 2018
    Posts:
    23
    My Unity version is Unity 2022.2.15.
    The models of my mobile phone are Redmi Note 3(Hexa-core) and Oppo K9(Octa-core). Both phones only have two Worker Threads.
    I don't know why. Does anyone know why?
    upload_2023-4-26_23-49-0.png
    SystemInfo.processorCount is 6 or 8. JobsUtility.JobWorkerMaximumCount is 2.
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    I believe unity only uses performance for aneroid by default. You dad change this but I don't think it's recommences.
     
  3. zhangdong304

    zhangdong304

    Joined:
    Mar 21, 2018
    Posts:
    23
    I have tried it. The changed value cannot be greater than JobsUtility.JobWorkerMaximumCount, otherwise an error will be reported
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    zhangdong304 likes this.