The documentation says IJobParallelForDefer
exists in the Unity.Jobs
namespace, yet in the recent version of Unity this type is nowhere to be found, and both Jobs and Collections packages have been installed. Is there a package I’m missing? I figured to try updating the Job to pre-release packages, but after enabling Pre-releases in settings I still don’t see anything to update in regards to jobs.
So even though Unity has the docs for the type they fail to tell you it’s not in the current releases. Unity should really start adding which library versions types can be found in. I solved this by trying to added the package by name ( com.unity.jobs
). You simply click the +
at the top left of the pakcage manager and select Add package by name...
. Should not have had to waste so much time searching for something this simple.
Note: As of this post
IJobParallelForDefer
only showed when I installed EXPERIMENTAL package v0.70.0-preview.7. I think you can only do that if you enable the option under Edit->Project Settings->Package Manager (at your own risk of course).