Game Task Apply & TextMeshPro Missing Words

05/03/2020

Game Task

I apply two tasks on the game first to test if it is workable.

Task 1: Follow the NPC

It is the simplest on the game. Just following the NPC and then get the recipes. NPC will wait for player if player is not following her.

Task 2: Recover the destroyed data from digital rubbish bin

After player interact with the rubbish bin, player need to finish the task to restore the recipes.

Missing Words on TMP

When I use Chinese word on text, some words will missing.

I had tried few way to solve it but all’s fail. The solution is following:

1. Create a .txt file and paste all words that will be used for the game (or may be just the words that will use this font type)

2. Drag the .txt file created on step 1 into Unity project

3. Call the Font Asset Creator from tool bar: Window>TextMeshPro>Font Asset Creator

4. Set the “Source Font File" to the desired font (.otf/.ttf)

5. Set the “Character File" to .txt file that dragged into unity on step 2

6. Click “Generate Font Atlas"

7. Click Save/Save as…

8. Used the TMP font created on step 7

The problem is solved!

發表留言