I would like official to make it possible to spawn jobs from within other jobs for job system in future editor engine release. This will enable much more possibilities but also to address the main thread job stalling issue at dots physics that can't be solved without this job system improvement as following:
In a previous version, this Job.Complete() call was not present, which caused the solver to spawn as many jobs as there could be maximally required, which was way too much and overwhelmed the job system with unnecessary job schedules and executions (max "solver iteration" times "32 phases" many job executions), which in the end effectively slowed the physics pipeline down significantly. This is no longer the case.
Ideally, we would launch a solver job that then launches the correct amount of solver phase jobs once the information comes in, freeing up the main thread. However, since in the C# job system there is currently no way to spawn jobs from within other jobs, this is not something that we can do at the moment.
We do have an eye on that though as a general area of improvement.```