[4.3.40] Path update


  1. How to change the maximum number of paths for calculation at the same time.
    I update the paths of 100 agents at the same time - and a minifreeze occurs

  2. I am updating certain bounds in the graph. How can I update the already calculated paths that intersect the bounds in the graph that I update?


  1. Is all pathfinding done through jobs?
  1. No, the paths are usually calculated in a separate thread (if you enable A* Inspector -> Settings -> Threads), so they are not really tied to the frame rate. Check the profiler to see what is causing the freeze.
  2. There is no out of the box solution for this. Usually agents recalculate their paths regularly so that they will pick up on changes quickly enough.
  3. No, but they use threads.