• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
Question by thefishinabowl_unity · Jul 11, 2018 at 09:27 AM · errortexterror messagetextmesherror-message

2018.2 text mesh pro. plugin Errors.

After updating from 2018.1.7 to 2018.2. I get these game braking errors from text mesh pro:

alt text

two of them are about plugins with the same name. and the rest is: AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.textmeshpro@1.2.4/Scripts/Runtime/TMPro_Private.cs(3709,45): error CS0121: The call is ambiguous between the following methods or properties: TMPro.TMPro_ExtensionMethods.Compare(this UnityEngine.Color32, UnityEngine.Color32)' and TMPro.TMPro_ExtensionMethods.Compare(this UnityEngine.Color32, UnityEngine.Color32)'.

errors.jpg (452.1 kB)
Comment
ponasoft
makaka-org
mischinab
James-Crysyn
Aggressor
Twibby
Abbasjahir
Scarlet_Dragon
MarcoChavez1940
Sophour
isauraalmar_unity
Dailyalex
$$anonymous$$
Delivionos
IcyDark
And 6 more...

People who like this

21 Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image thefishinabowl_unity · Jul 11, 2018 at 09:33 AM 0
Share

I also checked the location where the multiple plugins should be. "AppData\Local\Unity\cache\packages\packages.unity.com\com.unity.textmeshpro@1.2.4\Plugins" But there is only one of each plugin.

I dont know why i get these errors.

Reverting the project back did not help either.

avatar image vanxining · Jul 11, 2018 at 01:46 PM 0
Share

The same error.

8 Replies

  • Sort: 
avatar image
Best Answer

Answer by makaka-org · Jul 12, 2018 at 07:57 AM

  1. Delete the old version of TextMesh Pro in the Asset folder

  2. Reopen Project

  3. Window -> TextMeshPro -> Import TMP essentials

  4. Window -> TextMeshPro -> Project Files GUID Remapping Tool.

  5. Scan & Save.

    This will update the project and fix all missing TMP scripts.

    See more info on my blog: makaka.org


Comment
Checko
ponasoft
Consort
Skelly1983
Pharan
Juanini
Millenary_Fater
mischinab
James-Crysyn
QStack
Aggressor
Twibby
PawleyBoboli
Abbasjahir
Memfisto
And 37 more...

People who like this

52 Show 12 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Robbie4bes · Jul 13, 2018 at 03:46 PM 0
Share

So far I've tried this process for 2018.2 because I was using the Text Mesh Pro plugin for 2018.1 and never ran into any errors or problems. With 2018.2 I have the problem of errors based on there being 2 Text Mesh Pros (Plugin and Unity Package). Following the process listed above I get through Project Files GUID Remapping (after it informs me I need to change Asset Serialization from Mixed to Force Text before it can do the scan) but the areas where I was using Text Mesh Pro from the Plugin are left as "Missing" at the end of the process. Is there possibly something I am doing incorrectly within the described process? I don't want to end up having to manually replace every Text Mesh Pro in my Unity Project.

avatar image makaka-org Robbie4bes · Jul 13, 2018 at 04:42 PM 2
Share

4 & 5 must solve missing scripts problem.

avatar image Skelly1983 Robbie4bes · Jul 13, 2018 at 05:52 PM 0
Share

@atorisa is correct within unity all project files are assigned a GUID, the tool remaps the GUIDs to point to the version stored with packages.

There must be something in the process that you are doing wrong.

avatar image oriolmanya · Jul 24, 2018 at 09:06 AM 0
Share

Is there a solution for those who don't want to remove our current TextMeshPro files because we have done changes on the classes?

The only solution it cames to my mind would be to change the namespace of ALL the previous TextMeshPro scripts...

Anybody know / think there is a cleaner solution?

avatar image makaka-org oriolmanya · Jul 25, 2018 at 12:25 PM 0
Share

Use the bitbucket & Source Tree. After complete all the above action, you will see what was changed and return your code in half-manual mode

avatar image jamesk5 · Aug 01, 2018 at 11:32 PM 0
Share

Hey @atorisa thanks for the answer. After upgrading from 2018.1 to 2018.2 I had TMP complie errors. Turns out I had two copies of TMP, 1.22 from the asset store and 1.24 from the package manager. Not sure why this worked fine in 2018.1 or which version it was using, but the 2018.2 errors were resolved after deleting the TMP folder outside of the packages folder. Then no text in my game showed up - that's when I found this post and ran the GUID remapping tool. Glad to see it worked. But all my text styling in gone and it looks awful! I was using a TMP preset. I recall TMP had 5 or 6 material presets, but now there's only 3 in the list. I was using the gold gradient one, which is no longer listed. Do you know how I can fix this?

avatar image GafferSystems · Aug 18, 2018 at 09:12 PM 0
Share

I am trying this now with my several hundred complex prefabs, it looks like it will take approx 6.5 hours.. wish me luck :O

avatar image jamesk5 GafferSystems · Aug 19, 2018 at 01:59 AM 0
Share

I just bit the bullet and started from scratch. Acquired a font, imported, created a TMP font asset, and updated all text components to use the new SDF font asset. All text required some visual tweaks.

avatar image MarcoChavez1940 · Sep 12, 2018 at 02:55 PM 0
Share

Many thanks.

Show more comments
avatar image

Answer by hec031 · Jul 11, 2018 at 04:50 PM

Jason the senior programmer I work with says that the error is because Text Mesh Pro is now included as part of the Unity 2018.2 package. So Just delete the downloaded version and the problem will go away.

Comment
limaoscar
QStack
TitanTreasures
Jon_Brant
alexandremsantos555
uniphonic

People who like this

6 Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image $$anonymous$$ · Jul 11, 2018 at 11:39 PM 0
Share

thanks it worked for me

avatar image arunkmoury · Jul 12, 2018 at 05:44 AM 0
Share

How to remove this package. I guess you are talking about removing from package manager. Is that correct?

avatar image $$anonymous$$ arunkmoury · Jul 15, 2018 at 01:19 PM 2
Share

@arunkmoury To remove delete the package go to:

C:\Users*[USER*]\AppData\Local\Unity\cache\packages\packages.unity.com and delete text mesh pro

avatar image NetEeyore · Jul 26, 2018 at 05:51 AM 0
Share

Thank you. I was struggling to fix this issue and you were right, the latest version does seem to simply include it.

avatar image CMSherlock · Oct 11, 2018 at 09:18 AM 0
Share

Thanks a lot!!! It works for me very well

avatar image Jon_Brant · Jul 25, 2019 at 06:37 PM 0
Share

Thank you!

avatar image

Answer by NetEeyore · Sep 13, 2018 at 12:38 PM

Ah, thanks. for clarifying. I didn't follow the five steps, they just helped me to recognize the problem. In 2018.2 Text Mesh Pro is built in. If you follow the 5 steps it has you re-import it. But that means you are loading it again in to your blank file. Try building a new file and not loading text mesh pro at all. then try using it as if you did load it. in the new version, it is there. It is in a different location, but it is there and you don't need to load it at all. If you have it loaded it causes the errors.

You also don't need to run the GUID re-mapper. Again, the way I solved the issue in my project was to manually remove the stand alone version of text mesh pro. That was the only think I need to do. It took me a bit in a legacy project to make sure I did it right, but it did work. For new projects, should be simple, create a new project in 2018.2 and then just start working. no steps. Again, I hope this helps. I understand the frustration, I was very frustrated with this as well until I finally found this post and understood the problem. (didn't use the steps, but the post helped me to understand it was simply included in the new version and the built in version will conflict with any loaded version because of hec03's the comment)

Comment
Yasir_Erkam

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by limaoscar · Jul 26, 2018 at 03:24 PM

I have downloaded Unity 2018.2 started a new project and im having the same issue i haven't upgraded an existing project. I cant seem to find an answer on the forums

Comment

People who like this

0 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NetEeyore · Sep 13, 2018 at 12:03 AM 0
Share

When you say you started a new project, are you loading any add-ins or other tools that you use to "start a new project". I blank file with no code at all in it theoretically wouldn't have the same issue. I am not trying to be difficult just better understand you issue.

avatar image

Answer by el-beto-acosta · May 28, 2019 at 11:37 PM

In unity 2018 I delete the some dependencies over the manifest.json in Pachages folder. Just I can continue working.

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

203 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I fix this Text Mesh Pro Error? 0 Answers

Getting errors in the console at the start of every project,Getting errors at the start of every porject 0 Answers

Cant create project because of empty launch error 0 Answers

The left-hand side of an assignment must be a variable, a property or an indexer 1 Answer

Get Component Script Error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges