I am rading a text to be displayed in a Text UI from an asset using the standard commands
Resources.Load<TextAsset>("nameOfMyTextAsset"); The text is a .txt.
The text contains richtext tags to format the text in bold or italics. The richtext tags are displayed as such.
I am using TextMesh Pro and insert the text via the following cmd
public TextAsset MainText; MainText = Resources.Load<TextAsset>("nameOfMyTextAsset"); this.GetComponentInChildren<TextMeshProUGUI>().text = MainText.text; The text is displayed like this
How can I read text with richtext tags from a text asset?

GetComponentInChildren<TextMeshProUGUI>().text = "<b>test string</b>"do you still see the tags? If not, then it's likely the brackets are getting escaped somehow. Walking through the string you get from MainText.text character-by-character, and reporting any character codes that shouldn't be there will help diagnose the issue. \$\endgroup\$