Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Every Job.Worker thread is "Idle"
#10
(18-06-2024, 12:20 PM)cubrman Wrote: Here is the debuger data:
https://drive.google.com/file/d/1SMVyghs...drive_link
And here is a link to the project for you to check. Let me know once you download the project and I will delete the link:
https://drive.google.com/file/d/1wK4SNm0...sp=sharing

Basically in the project there is around 6 copies of a 2k vertices model that "inflate" using your plugin. That's all really. This work is enough to make the game run at 1 FPS.

Hi,

Your project isn't using Burst or multithreading at all as clearly stated by the warning in your ObiSolver component inspector (otherwise the warning wouldn’t appear). This is because the ObiSolver script file has been moved to Utilities/Obi/Scripts, outside of Obi's folder (located in Assets/Obi) and its assembly. Since packages check each other's assemblies to determine what's installed and what's not but the solver is not part of any assembly, it's not detecting any of the other installed packages.

As explained in the manual you should not take apart the asset's folder structure or modify its contents in any way, as this will break it:
http://obi.virtualmethodstudio.com/manua...setup.html

Quote:Once imported, you can find Obi installed in the /Assets/Obi folder. You may move the entire /Obi folder around, but you should not modify its contents.

The solution in your case is simply to delete Assets/Obi and Assets/Utilities/Obi and perform a fresh reinstall of the asset. Then if you want to move your Obi installation to another place in your project, do so as you would any other package: by moving the entire /Obi folder instead of some subfolders/files only.

Unrelated to this issue: in your scene's ObiSolver, relaxation is set to 0.1 (10%) on all constraint types but substeps are set to 4 and iterations to 2 or sometimes 3. This is a huge waste of resources as you're doing the same work a lot of times but only at 10% intensity each time. Set relaxation to 1 (100%) then reduce the amount of substeps/iterations as needed.

Let me know if you need further help,

kind regards
Reply


Messages In This Thread
Every Job.Worker thread is "Idle" - by cubrman - 16-06-2024, 08:00 PM
RE: Every Job.Worker thread is "Idle" - by josemendez - 18-06-2024, 01:34 PM