Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Unity 2017 to 2019 switch

Discussion in 'Editor & General Support' started by xMatikv, Apr 30, 2019.

  1. xMatikv

    xMatikv

    Joined:
    Apr 16, 2018
    Posts:
    2
    Hi guys,

    I changed over from Unity 2017 to Unity 2019 and I imported the project I've been working on and I'm getting the following two errors:

    Lighting data asset LightingData is incompatible with the current Unity version. Please use Generate Lighting to rebuild the lighting data. Realtime Global Illumination cannot be used until the lighting data is rebuilt.

    C:/Program Files/Unity/Hub/Editor/2019.1.0f2/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/inspectors/ClipInspector/ClipInspector.cs(364,17): warning CS0219: The variable `editorClip' is assigned but its value is never used

    And then 66 of these errors:

    C:/Users/chris/Desktop/Unity/Game Templates/Tower-Defense-Tutorial-master/Tower Defense Unity Project/Library/PackageCache/com.unity.textmeshpro@2.0.0/Scripts/Runtime/TMPro_UGUI_Private.cs(2041,130): error CS1644: Feature `out variable declaration' cannot be used because it is not part of the C# 4.0 language specification

    Any help appreciated, thanks.
     
  2. theApper

    theApper

    Joined:
    Apr 29, 2019
    Posts:
    3
    Try deleting packages like TextMeshPro. It helped me
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,311
    Try `Help/Reset packages to default`

    Edit: Oh yes its a .Net 3.5 error. Do what Peter77 links to.
     
    Peter77 likes this.
  4. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,566
    xMatikv and karl_jones like this.
  5. xMatikv

    xMatikv

    Joined:
    Apr 16, 2018
    Posts:
    2
    68 errors fixed :) thank you, sir.
     
    karl_jones and Peter77 like this.