Search Unity

Async updates starving out other jobs

Discussion in 'Navigation' started by snacktime, Oct 12, 2018.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    The navmesh system async updates completely hog all job threads. I'm guessing the scheduling for these was implemented before people were using jobs for their own stuff so it's quite aggressive. The profiler is just a wall of navmesh jobs on all threads, forcing all of my jobs onto the main thread as well as other Unity jobs.. Pretty ugly it basically freezes the game if you are using the job system much.
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    I find it's best to feed it less intense work regardless. Why wouldn't anyone want it to go nuts if they fed it instructions to go nuts :p