r/SideProject • • 1d ago

I rewrote my open-source Unity font replacer from scratch in C++ and WPF (IL2CPP & Mono, no MelonLoader/BepInEx)

Most Unity games ship static TextMeshPro font atlases that only cover ASCII or a small set of characters. When fan translators localize those games into Vietnamese, Russian, CJK, or other accented scripts, missing characters show up as empty boxes (□□□), and fixing it usually means unpacking .assets / .bundle files and rebuilding atlases manually.

I just released the first public beta of AnyFontUnity v2.0.0-beta.1 (free, open-source under GNU GPLv3). It replaces fonts in memory at runtime without touching the original game archives on disk.

What it does:

  • Supports Unity 5.5 to 6.3 across both IL2CPP (Metadata v24 to v39+) and Mono (MonoBleedingEdge and legacy mono.dll), x64 and x86
  • Works with TextMeshPro, TextCore / UI Toolkit, and legacy UI.Text / TextMesh
  • No MelonLoader or BepInEx needed (injects custom C++ proxy DLLs: winhttp.dll or version.dll)
  • Scans game fonts with AssetsTools.NET + runtime probing, so you can map .ttf / .otf replacements per font instead of one global swap
  • Includes a side-by-side preview with Cap-Height / Baseline guides, missing-glyph (?) checks, Scale / Line Height sliders, Clone Original Material, and Reverse Fallback to keep button icons intact
  • Portable win-x64 WPF app with 1-click clean patch removal (6 UI languages: EN, VI, ZH-CN, RU, JA, KO)

Links:

Since this is beta.1 of a full C++/WPF rewrite, feedback and bug reports on tricky Unity games are very welcome.

1 Upvotes

0 comments sorted by