MojiGuard CairnKit
SAMPLE AUDIT REPORT v1.0.0 — Dec 2026

Unity CJK & TMP Localization QA Audit

Registration-free sample output generated offline by MojiGuard’s headless RunBatchAudit pipeline across Japanese (ja-JP), Korean (ko-KR), Simplified Chinese (zh-Hans), and German (de-DE) Unity UI prefabs and scenes.

SEVERITY BREAKDOWN

8 deterministic findings across 4 rule groups.

ERROR

4

Missing JA/KO/ZH-Hans glyphs (including U+20BB7 surrogate pair) and broken TMP fallback chain entry.

WARNING

3

Japanese kinsoku line-start punctuation violation, German +38 px button clip, and Korean AutoSize collapse.

NOTE

1

Simplified Chinese opening-quote kinsoku advisory on tutorial banner wrap.

SARIF 2.1.0

1:1

Every row below matches ./sample-audit.sarif.json for GitHub Code Scanning and CI gates.

DETAILED FINDINGS

Missing CJK glyphs, TMP fallback atlas gaps & kinsoku violations.

Use keyboard arrow keys to scroll horizontally on narrow viewports. Each finding points directly to the Unity scene/prefab path, component hierarchy, and affected code point.

MojiGuard Unity CJK and TextMeshPro localization QA findings (matches sample-audit.sarif.json)
Rule & Severity Locale & Issue Type Unity Asset & Component Affected Glyph / Text Sample Root Cause & Remediation
MG001
ERROR
ja-JP
Missing Japanese Glyph (UTF-32 Surrogate Pair)
Assets/UI/Prefabs/NPC_DialogueModal.prefab
NPC_DialogueModal/Panel/SpeakerName (TextMeshProUGUI)
𠮷 U+20BB7
Renders as tofu box in NotoSansJP-Regular SDF
Static atlas and 2 fallback fonts omit CJK Extension B supplementary plane code points. Add a dynamic fallback TMP_FontAsset backed by a full JP/Ext-B TTF source.
MG001
ERROR
zh-Hans
TMP Fallback Atlas Gap (Simplified Chinese)
Assets/UI/Prefabs/QuestLog_Card.prefab
QuestLog_Card/Header/QuestTitle (TextMeshProUGUI)
龙门 U+9F99, U+95E8
Simplified glyphs absent from JP-only primary SDF atlas
Primary font NotoSansJP-Regular SDF lacks Simplified Chinese forms and has no zh-Hans fallback atlas. Attach NotoSansSC-Regular SDF to the TMP fallback chain.
MG001
ERROR
ko-KR
Missing Korean Hangul & Static Atlas Cap
Assets/Scenes/MainMenu.unity
Canvas/MainMenu/ServerRegionBadge (TextMeshProUGUI)
대한 U+B300, U+D55C
Missing from partial KS X 1001 static subset
NotoSansKR-Subset SDF has dynamic population disabled and misses common Hangul syllables. Enable Dynamic Multi-Atlas Population or pre-bake full 2,350 KS X 1001 syllables.
MG004
ERROR
ja-JP, ko-KR, zh-Hans
Broken TMP Fallback Atlas Chain
Assets/Fonts/HUD_PixelCJK SDF.asset
HUD_PixelCJK SDF.fallbackFontAssetTable[1]
null reference
Fallback slot #1 disconnected after font rename
Re-link or remove the null slot in fallbackFontAssetTable so TMP does not abort fallback traversal before reaching dynamic CJK fallbacks.
MG002
WARNING
ja-JP
Line-Break / Kinsoku Violation
Assets/UI/Prefabs/NPC_DialogueModal.prefab
NPC_DialogueModal/Panel/BodyCopy (TextMeshProUGUI)
。」 at line 2 col 1
Prohibited line-start closing punctuation
TMP Settings Leading/Following Characters tables are empty. Assign standard Japanese kinsoku rules (、。!」』】) prohibited at line start) in TMP Settings.
MG002
WARNING
de-DE
Overflow & Clipping (+35% Expansion)
Assets/UI/Prefabs/Settings_Footer.prefab
Settings_Footer/SaveButton/Label (TextMeshProUGUI)
Einstellungen speichern
+38 px beyond fixed 164 px RectTransform
Fixed-width button truncates German label. Add ContentSizeFitter or widen footer button container to at least 210 px with horizontal padding.
MG003
WARNING
ko-KR
AutoSize Readability Collapse
Assets/UI/Prefabs/Inventory_Tooltip.prefab
Inventory_Tooltip/StatSummary (TextMeshProUGUI)
10 pt (min floor)
Hangul SDF strokes blur below 14 pt on 1080p
Raise fontSizeMin from 10 pt to 14 pt and allow vertical tooltip growth via VerticalLayoutGroup instead of shrinking Hangul glyphs.
MG002
NOTE
zh-Hans
Kinsoku Line-End Advisory
Assets/Scenes/Tutorial.unity
Canvas/TutorialBanner/HintText (TextMeshProUGUI)
「 at line 1 end
Orphaned opening quote before line break
Add opening brackets and quotes (「『(【) to TMP’s Following Characters kinsoku list to keep opening punctuation paired with the following phrase.

CI INTEGRATION

Machine-readable SARIF 2.1.0 for headless Unity pipelines.

Run MojiGuard in Unity batchmode on pull requests and upload the generated .sarif.json artifact to your CI code-scanning workflow to catch missing CJK glyphs and TMP atlas regressions before release builds.

MojiGuard is an automated static and geometry inspection tool designed to accelerate localization QA alongside native human review.

Headless Unity batchmode invocation
Unity -batchmode -quit -nographics \
  -projectPath . \
  -executeMethod CairnKit.MojiGuard.Editor.MojiGuardBatch.RunBatchAudit \
  -mojiGuardOut Reports/moji-audit.sarif.json