Hebrew and Arabic text in Unity and game engines
Game engines often render right-to-left text in the wrong order and with disconnected Arabic letters. Here are your options.
The problem
Text systems in game engines are built for speed and often skip two steps that Hebrew and Arabic need: ordering right-to-left text (the bidirectional algorithm) and shaping Arabic letters into their joined forms. Unity's TextMeshPro, for example, has a right-to-left option, but developers report that it does not shape Arabic, and that lines mixing RTL and LTR text still come out wrong. A recent issue report on Unity's tracker describes Arabic shown left to right with disconnected letters.
Your options
- Static text (menus, titles, signs in the scene): prepare it with our reversed text fixer and paste the result into the text component. Keep "Connect Arabic letters" on. Make sure your font asset includes the Arabic presentation-form characters (U+FB50–U+FDFF and U+FE70–U+FEFF) or the Hebrew block.
- Text that changes at runtime (player names, dialogue loaded from files): you need a runtime solution. Open-source plugins exist for this, such as RTLTMPro for TextMeshPro. Check the licence before you ship it, and test mixed Hebrew-English and number cases.
- Input fields: players typing in Hebrew or Arabic need RTL-aware input fields too, which plain fields usually don't provide.
Test checklist
- A word, a full sentence and a sentence with a number in the middle.
- A sentence that starts with an English word.
- Arabic words with لا and with letters that never join forward, such as ا د ر و.
- Line wrapping: the first words of a long sentence must appear on the first line.
Product names are trademarks of their owners. This site is independent and not affiliated with or endorsed by any software company mentioned here.