Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug [Unity 2022.2.0f1] JobWorkerCount not working anymore. 100% cpu usage

Discussion in 'C# Job System' started by dyox, Dec 26, 2022.

  1. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Hello, after updating our game to Unity 2022.2.0f1, we noticed that all servers were using 100% cpu (128+ cores).

    It seems that:
    Code (CSharp):
    1. Unity.Jobs.LowLevel.Unsafe.JobsUtility.JobWorkerCount = xx;
    Is not working anymore. (Tested on Awake,Start,Update,etc)

    Tested in Editor, Build and server Batchmode. (Windows 7,10, 11)
    image.png
     
  2. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Bump
     
  3. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Bump
     
  4. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    We had to roll back to version 2022.1.24f.
     
    Last edited: Feb 6, 2023