Hi,
I can’t see “Jobs” package in 2021. I think there is something wrong with it. (Enable pre-released packages is checked)
You do not need Jobs package unless you’re trying to develop in ECS. ECS doesn’t work only in 2020LTS.
More info in the DOTS forums: https://forum.unity.com/forums/data-oriented-technology-stack.147/
The regular Jobs are part of the engine since 2018.
but an asset I installed is not working and gives error for jobs package.
This is not true at all. You can easily use Jobs outside of ECS.
This has no ECS in it and is valid use of it.
https://docs.unity3d.com/Manual/JobSystemSchedulingJobs.html.
The jobs system is not restricted to ECS. ECS must use the job system, but the jobs system / burst etc does not need ECS.
Hmmm, I must have misread it looks like jobs is fully integrated into Unity now.
But all the preview packages are failing to download. For example I can’t get NativeList collections for some reason.
Yes, that’s what I wrote in my quoted post in last October.
I just installed com.unity.collections 1.1.0 without any hitch, IDK which one you’re trying to install.
I could be having a similar problem. I can’t get the ‘Jobified’ transport sample to compile. It gives me “error CS0246: The type or namespace name ‘IJobParallelForDefer’ could not be found”.
I’ve been trying to install the jobs package without success. Any insight would be greatly appreciated!
I just added "com.unity.collections": "1.1.0", to my manifest and it threw an error that said com.unity.collections: Package [com.unity.collects@1.1.0] can not be found in a popup.
I wonder if you have the packages cached. This is a brand new computer that is causing the issue. It also won’t show up in the package manager (in fact now I see none of the preview packages do).
By the way, anyone wandering by here and reading this thread. Even though you don’t need to install the jobs package to run jobs, if you install the jobs package you do get some extra options around leak detection which I found really helpful. So if you are doing DOTS without ECS, I would still recommend installing the extra jobs package.
Just an update - as of this morning (2022.04.12) I can successfully install the jobs package. Specifically Window >> Package Manager >> Add package from git >> com.unity.jobs no longer fails with ‘package not found’.
Works in 2021.3.9 add with Window >> Package Manager >> Add package by name >> com.unity.jobs
thanks
I couldn’t find the Jobs package as well in 2021.3
However when i installed the Burst, Collections and Mathematics packages only and it all worked…
All Job system packages are already installed now in 2022.2, you don’t need to import anything.
Thanks! I was kind of confused why I still have the experimental package in mine.