Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TextMesh Pro unity plugin stopped working after updating Unity to 5.6 beta

I updated Unity3D to 5.6 beta version. I had asset from store called TextMesh Pro. Now it doesn't work (no text, many NREs). Console shows:

error CS1704: An assembly with the same name `TextMeshPro' has already been imported. Consider removing one of the references or sign the assembly Assets/TextMesh Pro/Plugins/TextMeshPro.dll (Location of the symbol related to previous error) Assets/TextMesh Pro/Plugins/Runtime-Only DLL/TextMeshPro.dll (Location of the symbol related to previous error)

I did not import this twice. The changelog of Unity 5.6 says that this asset will be built in in unity, but it is not yet. Is there any workaround or fix for something like this?

like image 751
Łukasz Motyczka Avatar asked Mar 26 '17 13:03

Łukasz Motyczka


2 Answers

Here is another approach which works.

Open your project folder go to Assets and delete the whole folder of TextMesh Pro.

After that go to:

C:\Users\YOUR_USERNAME\AppData\Roaming\Unity\Asset Store-5.x\Unity Technologies\Unity EssentialsBeta Content and delete TextMesh Pro.unitypackage

After that go to Asset store and you will be able to download the latest version which works without problems on Unity 2017.2.

like image 94
Venelin Avatar answered Oct 23 '22 04:10

Venelin


I fixed this issue by changing the import settings of TextMeshPro.dll. The workaround can be found here.

like image 32
Ryanas Avatar answered Oct 23 '22 05:10

Ryanas