Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Can't see "Jobs" package in 2021

Discussion in 'Editor & General Support' started by mfatihbarut, Oct 13, 2021.

  1. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
    Hi,
    I can't see "Jobs" package in 2021. I think there is something wrong with it. (Enable pre-released packages is checked)
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,087
    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.
     
  3. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
    but an asset I installed is not working and gives error for jobs package.
     
  4. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    449
    This is not true at all. You can easily use Jobs outside of ECS.
     
    CYCLE-6 likes this.
  5. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,087
  6. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    449
  7. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    449
    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.
     
  8. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,087
    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.
     
  9. Cornwine

    Cornwine

    Joined:
    Jun 8, 2019
    Posts:
    2
    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!
     
  10. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    449
    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).
     
  11. 8bitgoose

    8bitgoose

    Joined:
    Dec 28, 2014
    Posts:
    449
    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.
     
    zander_m likes this.
  12. Cornwine

    Cornwine

    Joined:
    Jun 8, 2019
    Posts:
    2
    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'.
     
    Zodd, Foxsume, GDevTeam and 10 others like this.
  13. hunabku94

    hunabku94

    Joined:
    Jun 12, 2017
    Posts:
    48
    Works in 2021.3.9 add with Window >> Package Manager >> Add package by name >> com.unity.jobs
     
    Zodd, jessxutencent, GDevTeam and 5 others like this.
  14. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
  15. Vagabond_

    Vagabond_

    Joined:
    Aug 26, 2014
    Posts:
    1,145
    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...
     
  16. DA-VANCI

    DA-VANCI

    Joined:
    Jan 6, 2017
    Posts:
    1
    All Job system packages are already installed now in 2022.2, you don't need to import anything.
     
    Neil-Corre likes this.
  17. Neil-Corre

    Neil-Corre

    Joined:
    Nov 29, 2015
    Posts:
    37
    Thanks! I was kind of confused why I still have the experimental package in mine.