Search Unity

[Fix in 2020.1.a17] v0.4.0: ContentBuildInterface missing GetPlayerObjectIdentifiersInSerializedFile

Discussion in 'Entity Component System' started by florianhanke, Dec 18, 2019.

  1. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    426
    Hi all,

    I've moved to entities 0.4.0-preview.10, but am sadly getting the above error(s):
    * Library/PackageCache/com.unity.entities@0.4.0-preview.10/Unity.Scenes.Editor/LiveLink/LiveLinkBuildPipeline.cs(257,61): error CS0117: 'ContentBuildInterface' does not contain a definition for 'GetPlayerObjectIdentifiersInSerializedFile'
    * Library/PackageCache/com.unity.entities@0.4.0-preview.10/Unity.Scenes.Editor/LiveLink/LiveLinkBuildPipeline.cs(323,37): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public instance definition for 'GetEnumerator'

    This is my manifest:

    Code (CSharp):
    1. {
    2.   "dependencies": {
    3.     "com.unity.addressables": "1.4.0",
    4.     "com.unity.analytics": "3.3.4",
    5.     "com.unity.animation.rigging": "0.2.5-preview",
    6.     "com.unity.audio.dspgraph": "0.1.0-preview.11",
    7.     "com.unity.collections": "0.4.0-preview.6",
    8.     "com.unity.dots.editor": "0.1.0-preview.2",
    9.     "com.unity.entities": "0.4.0-preview.10",
    10.     "com.unity.ext.nunit": "1.0.0",
    11.     "com.unity.ide.vscode": "1.1.3",
    12.     "com.unity.physics": "0.2.5-preview.1",
    13.     "com.unity.render-pipelines.universal": "7.1.6",
    14.     "com.unity.rendering.hybrid": "0.3.1-preview.10",
    15.     "com.unity.terrain-tools": "2.0.2-preview",
    16.     "com.unity.test-framework.performance": "2.0.3-preview",
    17.     "com.unity.timeline": "1.3.0-preview.5",
    18.     "com.unity.ugui": "1.0.0",
    19.     "com.unity.visualeffectgraph": "7.1.6",
    20.     "com.unity.modules.ai": "1.0.0",
    21.     "com.unity.modules.androidjni": "1.0.0",
    22.     "com.unity.modules.animation": "1.0.0",
    23.     "com.unity.modules.assetbundle": "1.0.0",
    24.     "com.unity.modules.audio": "1.0.0",
    25.     "com.unity.modules.cloth": "1.0.0",
    26.     "com.unity.modules.director": "1.0.0",
    27.     "com.unity.modules.imageconversion": "1.0.0",
    28.     "com.unity.modules.imgui": "1.0.0",
    29.     "com.unity.modules.jsonserialize": "1.0.0",
    30.     "com.unity.modules.particlesystem": "1.0.0",
    31.     "com.unity.modules.physics": "1.0.0",
    32.     "com.unity.modules.physics2d": "1.0.0",
    33.     "com.unity.modules.screencapture": "1.0.0",
    34.     "com.unity.modules.terrain": "1.0.0",
    35.     "com.unity.modules.terrainphysics": "1.0.0",
    36.     "com.unity.modules.tilemap": "1.0.0",
    37.     "com.unity.modules.ui": "1.0.0",
    38.     "com.unity.modules.uielements": "1.0.0",
    39.     "com.unity.modules.umbra": "1.0.0",
    40.     "com.unity.modules.unityanalytics": "1.0.0",
    41.     "com.unity.modules.unitywebrequest": "1.0.0",
    42.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    43.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    44.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    45.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    46.     "com.unity.modules.vehicles": "1.0.0",
    47.     "com.unity.modules.video": "1.0.0",
    48.     "com.unity.modules.vr": "1.0.0",
    49.     "com.unity.modules.wind": "1.0.0",
    50.     "com.unity.modules.xr": "1.0.0"
    51.   }
    52. }
    I don't appear to be the only one. Looking at the code, I believe this may only be occurring for Unity 2020.1+ (I am using 2020.1.0a16.1913).

    Is my assumption correct that it's only for 2020.1 users?

    Cheers
     
  2. Singtaa

    Singtaa

    Joined:
    Dec 14, 2010
    Posts:
    492
    I'm not getting this error, and I'm using 2019.3.0f1
     
    florianhanke likes this.
  3. felipin

    felipin

    Joined:
    Nov 18, 2015
    Posts:
    49
    a temporary solution is open the file where the error is coming and change
    upload_2019-12-18_12-57-2.png
    to
    upload_2019-12-18_12-57-20.png
     
    GilCat likes this.
  4. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    19.3 works fine
    2020.1.0a17 (When it will be released) will work with the 0.4 entities package.
     
    GilCat, Thaina and florianhanke like this.
  5. florianhanke

    florianhanke

    Joined:
    Jun 8, 2018
    Posts:
    426
    Thank you very much for your answers, much appreciated!