So im new to the whole DOTS stack and im currently working on a 3D Pathfinding System for Unity, but im currently facing a issue. I created a Pathfinding job, which works fine for a single "Agent". But i want to go a step further and make hundreds of Agent looking for a path. For that i made a list where i keep the agents which requested a path. i tried by simply execute the job inside a for loop, instead only the first 12 or something agents calculated the path, while the other 200+ didnt, ny guess its because the workerthreads have been used already and the others werent able to create the job?
Im also not sure if i can turn this job into a parralel for, as inside the job im resizing a temp list, which i need for the calculations, but maybe a ijobfor?