A doubt on update graph

Hi
Why sleep when I use ProceduralGraphMover update RecastGraph?

  • A* version: [5.0.4]
  • Unity version: [2022.3.9]

Hi

What computer/os are you running this on?
Looks like it might be pretty old, so that a high resolution scheduler is not supported.

image
“专业” → profession
image
Is this(jobSteps) not work?

Hi

Do you think you could show a screenshot of the unity profiler timeline view, when this happens? Including the job threads.




enough?
This question is happen sometime

No. Use the timeline view.

Sorry I misread.

Aha.

Okay. I think I know what’s going on.

All cores on your computer are busy. So when the A* package processes the update on the main thread, it gives priority to working on the graph updates for a little while, to make them complete faster.
Not sure if this is the best strategy. It’s really tricky to handle mixed main-thread and jobs-thread work in unity.

Sorry I don’t know much about it.
I think this sleep is waiting the Job finish?
Do you have docs with A* multi-threading design?