Home>
◆Unity◆ "TMP_Sprite Asset" of "textMeshPro" is not displayed ◆ TextMeshPro SpriteAsset is not displayed.

New to Unity.
"textMeshPro"of"TMP_SpriteAsseto"When I made a text using, no matter what reference site I tried, the sprite asset was not displayed.
DL defaultTextMeshPro folderof"EmojiOne"Use assets to TextinputI tried to input it, but the contents are not reflected and New Text is displayed, or nothing is displayed.

How can I fix this phenomenon?


◆Error statement

I don't know if it's related, but it's an error statement that came out for now.

MissingComponentException: There is no'CanvasRenderer' attached to the "TMP UI SubObject [TextMeshPro/Sprite]" game object, but a script is trying to access it.
You probably need to add a CanvasRenderer to the game object "TMP UI SubObject [TextMeshPro/Sprite]". Or your script needs to check if the component is attached before using it.

◆ Supplement

I don't know if this is also related, but every time I rewrite the contents of Textinput"TMP UI SubObject [TextMeshPro/Sprite]"The number of objects will increase. It will increase even if the operation is returned with Ctrl+z.

Canvas
┗Text (TMP)
TMP UI SubObject [TextMeshPro/Sprite] ← This object increases

  • Answer # 1

    Normally it looks like this.

    Image description

    I'm worried that "Preview Packages in Use" is written in the Unity Editor and the setting items are different from my environment. I am using Unity 2019.4 + TMP 2.0.1 (2019.4 verified). If you're trying to use TMP's Preview Package, it's best to use the newest version that is verified against the version of Unity you're using.