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.
  2. Dismiss Notice

JobsUtility does not contain definition

Discussion in 'Entity Component System' started by NoFuchsGavin, May 11, 2022.

  1. NoFuchsGavin

    NoFuchsGavin

    Joined:
    Sep 29, 2018
    Posts:
    5
    So I installed the DOTS packages into my project, to play with it and test this tech out.
    Unfortunately I have issues getting the project back to work.

    I have currently the newest LTS version installed on Windows:
    2021.3.2f1

    My
    package/manifest.json
    looks like this:

    Code (csharp):
    1. {
    2.   "dependencies": {
    3.     "com.unity.coding": "0.1.0-preview.20",
    4.     "com.unity.collections": "1.2.3-pre.1",
    5.     "com.unity.entities": "0.50.1-preview.2",
    6.     "com.unity.ide.vscode": "1.2.5",
    7.     "com.unity.inputsystem": "1.3.0",
    8.     "com.unity.jobs": "0.50.0-preview.8",
    9.     "com.unity.nuget.newtonsoft-json": "3.0.2",
    10.     "com.unity.performance.profile-analyzer": "1.1.1",
    11.     "com.unity.physics": "0.50.0-preview.43",
    12.     "com.unity.platforms": "0.50.0-preview.4",
    13.     "com.unity.render-pipelines.universal": "12.1.6",
    14.     "com.unity.rendering.hybrid": "0.50.0-preview.44",
    15.     "com.unity.test-framework": "1.1.31",
    16.     "com.unity.testtools.codecoverage": "1.0.1",
    17.     "com.unity.textmeshpro": "3.0.6",
    18.     "com.unity.timeline": "1.6.4",
    19.     "com.unity.transport": "1.0.0",
    20.     "com.unity.ugui": "1.0.0",
    21.     "com.unity.modules.ai": "1.0.0",
    22.     "com.unity.modules.androidjni": "1.0.0",
    23.     "com.unity.modules.animation": "1.0.0",
    24.     "com.unity.modules.assetbundle": "1.0.0",
    25.     "com.unity.modules.audio": "1.0.0",
    26.     "com.unity.modules.cloth": "1.0.0",
    27.     "com.unity.modules.director": "1.0.0",
    28.     "com.unity.modules.imageconversion": "1.0.0",
    29.     "com.unity.modules.imgui": "1.0.0",
    30.     "com.unity.modules.jsonserialize": "1.0.0",
    31.     "com.unity.modules.particlesystem": "1.0.0",
    32.     "com.unity.modules.physics": "1.0.0",
    33.     "com.unity.modules.physics2d": "1.0.0",
    34.     "com.unity.modules.screencapture": "1.0.0",
    35.     "com.unity.modules.terrain": "1.0.0",
    36.     "com.unity.modules.terrainphysics": "1.0.0",
    37.     "com.unity.modules.tilemap": "1.0.0",
    38.     "com.unity.modules.ui": "1.0.0",
    39.     "com.unity.modules.uielements": "1.0.0",
    40.     "com.unity.modules.umbra": "1.0.0",
    41.     "com.unity.modules.unityanalytics": "1.0.0",
    42.     "com.unity.modules.unitywebrequest": "1.0.0",
    43.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    44.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    45.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    46.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    47.     "com.unity.modules.vehicles": "1.0.0",
    48.     "com.unity.modules.video": "1.0.0",
    49.     "com.unity.modules.vr": "1.0.0",
    50.     "com.unity.modules.wind": "1.0.0",
    51.     "com.unity.modules.xr": "1.0.0"
    52.   },
    53.   "enableLockFile": true,
    54.   "testables": [
    55.     "com.unity.entities"
    56.   ]
    57. }
    Somehow I get now 5 errors which show up the following:

    upload_2022-5-11_7-59-47.png

    It seems the "JobUtility" is gone, an thats why there are issues with it. Or do I miss a dependency?
    Built support is enabled for all OS.
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,653
    Entities 0.50 NOT compatible with 2021, only with 2020, for 2021 there will be 0.51 which is not released yet. Read the forum, use forum search, there is already many times stated about that, it’s also mentioned in pinned thread about new entities release:)
     
    NoFuchsGavin, bb8_1, Anthiese and 2 others like this.
  3. NoFuchsGavin

    NoFuchsGavin

    Joined:
    Sep 29, 2018
    Posts:
    5
    Yes 0.50 works with the LTS 2020 release. Thanks for that.
     
  4. Haxel0rd

    Haxel0rd

    Joined:
    May 20, 2021
    Posts:
    49
    I am unity 2021.3.2f1 with Physics Package
    0.51.1-preview.21 and the errors are still there,
    as seen in OP's opener post.

     
    Last edited: Jul 24, 2023