UpdateNavMeshDataAsync lags with WaitForJobGroupId

Hello! As the title suggests, I’ve been optimizing my game and found that the async method to update the navmesh is taking 100-400ms to compute. It just stays in the WaitForJobGroupID idle status. As some other posts suggested I set the max worker count in the navmesh settings to 1 (and increased it to 10), but it didn’t change anything.
Here are some screenshots that might help:


The timeline shows how much it takes of the frame:
Most of the times there are no threads shown in the timeline that are taking that much time. Only once I found tread worker 2 to be taking a lot of time:

It might be worth mentioning that in my game I use about 4 threads that stays in Thread.sleep mode until some concurrent queue is filled up, then the object gets processed and the threads returns in a sleep state. They are not jobs, they’re run with the Threads.run method, and I can confirm that every thread stays in a sleep state during this WaitForJobGroupID idle state (checked them in the timeline, thought they could be taking all the resources, but they’re not doing it).

I’ve been stuck for days now, and internet is not helping me…
If you used a bit of your time to help me, thanks a lot! <3