Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

'TypeUtility' does not contain a definition for '...'

Discussion in 'Package Manager' started by jasperlongbow, Apr 4, 2020.

  1. jasperlongbow

    jasperlongbow

    Joined:
    Apr 4, 2020
    Posts:
    1
    Hi,

    I'm using Timeline in a 2019.3.7f1 project, on Windows 10. I'm getting variations of the following error, all relating to "TypeUtility":

    Library\PackageCache\com.unity.timeline@1.4.0-preview.2\Editor\treeview\TimelineDragging.cs(521,49): error CS0117: 'TypeUtility' does not contain a definition for 'GetPlayableAssetsHandledByTrack'

    See them all here: http://prntscr.com/rt0z79

    I've tried the following:
    - Using different versions of the timeline package.
    - Reimporting.
    - Deleting all packages out of my local package cache.
    - Adding chunks of my project a bit at a time.
    - I've checked for any other classes in the C# solution called TypeUtility encase that was causing a conflict.

    I'm using the following packages:

    Code (JavaScript):
    1. {
    2.   "dependencies": {
    3.     "com.unity.2d.sprite": "1.0.0",
    4.     "com.unity.build-report-inspector": "0.1.2-preview",
    5.     "com.unity.burst": "1.2.3",
    6.     "com.unity.cinemachine": "2.5.0",
    7.     "com.unity.collections": "0.6.0-preview.9",
    8.     "com.unity.entities": "0.7.0-preview.19",
    9.     "com.unity.ide.vscode": "1.1.4",
    10.     "com.unity.immediate-window": "1.1.0-preview.3",
    11.     "com.unity.jobs": "0.2.7-preview.11",
    12.     "com.unity.memoryprofiler": "0.2.3-preview.2",
    13.     "com.unity.multiplayer-hlapi": "1.0.4",
    14.     "com.unity.physics": "0.3.1-preview",
    15.     "com.unity.postprocessing": "2.3.0",
    16.     "com.unity.scriptablebuildpipeline": "1.6.5-preview",
    17.     "com.unity.test-framework": "1.1.11",
    18.     "com.unity.textmeshpro": "2.0.1",
    19.     "com.unity.timeline": "1.4.0-preview.2",
    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. }

    The error continues to show up without a clear reason why when I haven't changed any files for a while in the project. Is there a dependency I'm missing or anything I should try?

    Thanks :)
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    I'll kick this over to the team for them to take a look. :)
     
  3. ethan_jl_unity

    ethan_jl_unity

    Unity Technologies

    Joined:
    Sep 27, 2018
    Posts:
    104