unity-textmeshpro

Optimize Unity TextMeshPro rendering, font assets, and rich text formatting.

10|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/creator-hian/claude-code-plugins --skill unity-textmeshpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-textmeshpro
Source: https://github.com/creator-hian/claude-code-plugins/tree/main/unity-plugin/skills/unity-textmeshpro
Command: npx skills add https://github.com/creator-hian/claude-code-plugins --skill unity-textmeshpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill covers TextMeshPro rendering, font asset creation, rich text formatting, and performance optimizations for TMPro-based UI and in-world text.

Core Features & Use Cases

  • SDF font asset creation and management
  • Rich text formatting and sprites
  • Material presets and text effects
  • Localization-ready text rendering strategies

Quick Start

Create a TMP_Text element, apply a font asset, and set formatted text with a test string.

Frequently Asked Questions about unity-textmeshpro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize TextMeshPro rendering performance in Unity?

TextMeshPro rendering performance improves through SDF font asset optimization, static vs dynamic font selection based on update frequency, and material preset tuning. Batch text updates, minimize dynamic font regeneration, and use appropriate canvas render modes to reduce draw calls and GPU overhead.

What is SDF font asset creation and why do I need it for TextMeshPro?

SDF (Signed Distance Field) font assets enable sharp, scalable text at any resolution with minimal memory overhead. TextMeshPro uses SDF fonts to render crisp UI and world text across diverse screen sizes and languages without quality degradation or performance penalties.

How do I set up TextMeshPro for localization across multiple languages?

Localization-ready TextMeshPro rendering requires dynamic font asset assignment per language, rich text formatting for regional text directionality, and material presets that handle character set coverage. Implement text updates that reload font assets without scene reloads.

Can I use rich text formatting and sprites together in TextMeshPro?

Yes. TextMeshPro supports rich text tags for inline formatting and sprite injection within text strings. Material presets control appearance, and sprites embed inline without additional UI elements, enabling complex formatted text with embedded graphics in a single component.

What's the difference between static and dynamic fonts in TextMeshPro?

Static fonts pre-render all characters at build time, offering fast performance but larger file size. Dynamic fonts generate characters at runtime, reducing memory but increasing CPU cost per update. Choose static for UI with fixed text; dynamic for frequently changing or language-heavy content.

How do I apply material presets and text effects in TextMeshPro?

Material presets bundle shader and property configurations for consistent text effects across components. Assign presets to TMP_Text elements to apply effects like outlines, shadows, or gradients without manual shader editing, ensuring performant and visually consistent text rendering.