19. Diagnose text and input problems
| Symptom | Check first |
|---|---|
| $$visitor_name is printed literally | The exact variable ID, its existence in the running game and whether this is an output label/button. |
| @playername is unchanged | Use the exact built-in spelling @PlayerName. |
| A text box keeps @PlayerName | That is expected: its editable contents are literal. Fill value explicitly if required. |
| {target} is empty | The pointer may not be over an interactable target. |
| {value}/{max} shows 0/100 | Those are element-value defaults, not the contents of another text box. |
| The score has .0 | Numeric arithmetic produces a number. Format a display String if needed. |
| A corner ignores Border Radius | It may have an explicit per-corner override. -1 restores inheritance. |
| A long sentence clips | Check frame Width/Height, font size, line breaks and the translated wording. |
| A symbol becomes a square | Check that the actual font contains that glyph. |
| Formatting tags appear as text | These are plain text controls. Do not assume RichTextLabel/BBCode parsing. |
Separate the source from the result. Inspect the authored Text in the designer, the variable value in the running game and the resulting label on screen. A display token does not compute a puzzle outcome or save a typed answer by itself.
GUI Preview can show raw tokens or local editing states. Use a running-game test for values, current player/scene information, action results and parser commands.
