<sprite> tag not accepting color=#ffffff or tint=1?

The documentation ( Rich Text, TextMesh Pro Documentation ) shows that you can add tint=1 to make a sprite follow vertex color rules, or color=#ffffff to tint the sprite manually. However, both of these options no longer seem to work.

I’m using the package manager version of TMP (2.0.1) on Unity 2019.2.1f1

Are these features removed, or could something else be wrong?

(example screenshots below)

Make sure you are using quotes when specifying the name or sprite asset.

Example:

<color=#ff8000>

Quotes are used to separate values like the name from other attributes. In your case, the name of the sprite ends up being combined with the tint attribute.

Thanks! That was the trick. I almost wish that it didn’t work at all without the ""s, so the confusion wouldn’t exist. Too late now, I suppose, haha.

Whenever you see the tag text itself instead of the expected result, that is a sign of an improperly formatted tag or that something isn’t right with the tag or its values.