TMPro tripped me up, but here is how I fixed it

In the Text 101 Lecture for Text Mesh Pro, I decided to also use TMPro for my story and fine print fields.

Unfortunately, when I ran my game, the text from my Scriptable Objects was not updating properly.

I had to go into the main script and add the ‘using TMPro’ namespace. Then I had to change my variable types to ‘TMP_Text’.

Then I had to select ‘Game’ in the Hierarchy and drag the Story Text and Fine Print over into the Text Components 1 & 2 in the Inspector.

TMPro 2

Now my game runs proplerly!

1 Like

Privacy & Terms