Create with Code Lesson 5.2, TextMeshProGUI could not be found.

I’m getting this frustrating bug after adding TextMeshPro in the lesson. I can find references to the problem on the forum but have had no luck fixing or continuing the project after adding

using TMPro;

public TextMeshProGUI scoreText;

to GameManager.cs

I’ve tried teshmeshpro 1.4.1 and 1.3.0

visual studio is updated
updated to unity 2018.4.16f1

I haven’t tried just restarting the project yet. I tried changing my text editor back and forth. Don’t know how to set up a assembly definition but I made one and added textmeshpro and textmeshpro.editor and it didn’t fix the problem.

Your line of code reading ‘public TextMeshProGUI scoreText;’ should read:

public TextMeshProUGUI scoreText;

1 Like

thanks that fixed it. I’m glad it was just me typing something wrong. That was driving me crazy.