Search code examples
c#unity-game-enginetmp

TextMeshPro can not be resolved as a class in visual studio


I start to use TextMesh Pro in unity3D 2018 to render text and it works well when I set it up in inspector. But by the time I try to reference it in the script in visual studio 2017, I find the vs always warn me there is no such a class. Could anyone give me a suggestion?


Solution

  • You should upgrade Unity to the latest version. It appears there is a problem with TMPro. An issue related to this has been discussed on the Unity Forum