Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

hopefully a daft newbie question

Discussion in 'Getting Started' started by andrewcrosse, May 27, 2019.

  1. andrewcrosse

    andrewcrosse

    Joined:
    May 27, 2019
    Posts:
    1
    hi

    I have started using unity recently, I have an error code as follows.

    Library\PackageCache\com.unity.textmeshpro@2.0.1\Scripts\Editor\TMP_PackageUtilities.cs(310,17): error CS0433: The type 'Task' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c....

    I have the latest version of textmesh, but cant see mscorlib
    I have tried rolling back the textmesh release, this does not do the job.
    im on unity 2019 3.oa3 and 5.6.5p4

    thanks for any help
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    14,529
    Be wary of downloading releases that have an "a" or "b". The "a" means that the release is an alpha that has new but very buggy functionality. Alpha releases are intended for experienced Unity developers that are comfortable dealing with the problems that are practically guaranteed to be there.

    The "b" means that the release is a beta that has gone through alpha and has been deemed stable enough that it's no longer going to have major stability problems, but it's still a bugged release that is intended for experienced developers.

    For new developers I recommend downloading "f" releases. These are releases that have gone through both the alpha and beta stages of testing and are deemed stable enough for production use. You generally won't have problems like this one if you stick with them.
     
    Joe-Censored likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    6,520
    The Package Manager didn't exist in Unity 5.x, so you can't use the TextMesh Pro package in that version. You'd have to use the asset store version.

    As already mentioned you should not be using early alpha versions of Unity as a newbie. Those are just for experimentation, to give Unity feedback, and are not intended for serious use. 2019.3 is probably 6 months away from being stable enough for an official release. You will run into serious feature breaking problems in alpha versions.

    Try the latest version of 2019.1.x if you like latest/greatest, or 2018.4.x LTS for stability.
     
    Ryiah likes this.
  4. pavisfel

    pavisfel

    Joined:
    Jan 9, 2018
    Posts:
    1
    yep - I got the same in 2019.2.0f1:
    Library\PackageCache\com.unity.textmeshpro@2.0.1\Scripts\Editor\TMP_PackageUtilities.cs(310,17): error CS0433: The type 'Task' exists in both 'System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    5,449
    Try Reset Packages to Default under the Help menu.
     
  6. rehman_ilyas

    rehman_ilyas

    Joined:
    Dec 10, 2015
    Posts:
    1
    I got same error and Reset Packages to Default did nothing. I am using version 2019.2.0f1
     
  7. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    5,449
    If you are not using the package, you can always remove it.
     
  8. natmaxex

    natmaxex

    Joined:
    Jul 12, 2012
    Posts:
    10
    I'm using it!!!
     
  9. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    5,449
    The latest one?