Mod Notice
This issue is caused by an outdated resource pack.
If you are the pack creator, you need to add a space provider to your default.json font. If any other providers used a space character as a placeholder, you should instead use \u0000. Remember that if your font file doesn't have any changes compared to vanilla, you don't need to include it in your pack.
If you are the pack user, look for a new download of the pack or contact the creator.
The space button has just a little gap on the latest snapshot (22w19a)
Please provide a screenshot with the debug screen enabled (hit the
F3key) demonstrating the issue.Also please force a crash by pressing
F3 + Cfor 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.