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

Problem update from 2017.4.34 to 2019.4.10

Discussion in 'UGUI & TextMesh Pro' started by compy14, Sep 18, 2020.

  1. compy14

    compy14

    Joined:
    Aug 9, 2015
    Posts:
    20
    Hello good morning, I have been trying to update my project from 2017.4.34 to 2019.4.10, and the textmeshpro generates many errors. I have tried different things, switch to Net 4.X, delete Library / PackageCache, update TextMeshPro version through PackageManager and nothing has worked. I managed to remove the errors with that, but all the TextMeshPro have disappeared, and it tells me missing script. I want to try what a user of this forum says, the following:


    I just upgraded a project from 2017.3 to 2019.1 that was using TMPro in every scene.

    These were my steps:

    1. Upgrade to 2019 first and get all the errors.
    2. Change scripting runtime version to .NET 4.x
    3. Close Unity Editor
    4. Delete global package cache data in "/Users/username/AppData/Local/Unity/cache
    5. Delete local project's PackageCache folder
    6. Delete old TMPro Aseet in Assets/TextMeshPro
    7. Open Unity and your project again and you'll see very TextMeshPro asset missing from your scenes.
    8. Panic
    9. Go to Window->TextMeshPro->Import TMP Essential Resources
    10. Go to Window->TextMeshPro->Project Files GUID Remapping Tool
    11. Scan and Save
    12. Rejoice when you see all your texts appear on the screen again.

    But in step 9 and 10 the options you mentioned do not appear, instead in a new project it detects it. What's going on?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    When I get projects from users that predate 2018.x...
    (1) I open the project in the older version of Unity to make sure Asset Serialization mode is set to Force Text.
    (2) I close any open scene.
    (3) I open the project in the new version of Unity (2019.4 for example).
    (4) Look into the "TextMesh Pro" folder to make sure the user didn't save any assets in there before I delete the older version of TMP. After deleting the older version, all errors should be gone unless the project was not set to .Net 4.x.
    (5) Make sure the project is using .NET 4.X (if it isn't already)
    (6) Import the TMP Essential Resources and TMP Examples & Extras.
    (7) Use the GUID Remapping Tool
    (8) Then I open whatever scene to make sure everything is fine.

    The TMP menu options, including Package Manager may not show up if there are errors in the project.

    Version 2.1.1 of the TMP package is installed by default in 2019.4.10.
     
  3. compy14

    compy14

    Joined:
    Aug 9, 2015
    Posts:
    20
    It is surely that it gives me a conflict in some other SDK and gives errors. But I have opened the project with version 2017.4 that there is no error there but the TMP Essentials and Remapping options do not appear either. Is it exclusive to newer versions?
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    What are those errors that you are getting that are not related to TMP?