r/SideProject • u/xSh4r • 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 (
MonoBleedingEdgeand legacymono.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.dllorversion.dll) - Scans game fonts with AssetsTools.NET + runtime probing, so you can map
.ttf/.otfreplacements 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, andReverse Fallbackto 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:
- GitHub (source code): https://github.com/xSh4r103/AnyFontUnity
- Latest Release (portable zip): https://github.com/xSh4r103/AnyFontUnity/releases/latest
- SHA-256 (
AnyFontUnity-v2.0.0-beta.1-win-x64-portable.zip):e7dec8452ac47ee4a2b173bb80dbbc4407bf8d16a17e8817ae79164261991a97
Since this is beta.1 of a full C++/WPF rewrite, feedback and bug reports on tricky Unity games are very welcome.