The game crashes when displaying certain TTF characters. I don't know why exactly, but I've narrowed it down to a small resource pack. This did not happen in 1.20.4
How to reproduce
Download the attached resource pack
Enable the resource pack and open a world
Run the following command
tellraw @a {"text": ".", "font": "gm4:offscreen"}
❌ Notice that the game crashed
I also came across MC-268035 while testing, so that may be related
Can confirm
[media]