#Typing } in text box crash the game
1 messages ยท Page 1 of 1 (latest)
Probably because it is something used to close a function in the code so it went weird about it ๐
Yep ! I guess the testing of the test boxes was with a full block of code so it had both { and } so the game didn't cared much ๐
Yup, we embed { and } characters in text strings to mark substrings that need to be localised. If the player types those characters into text boxes all sorts of bad stuff can happen. (you get a similar crash if you type {{, for example. Or if you type {text}, then it shows up as <<text>> in the edit box and cursor positioning and stuff all get very confused). For now, I'm just preventing players from typing or pasting { or } into text edit boxes, just to sidestep the issue for now; can come back to it later to figure out whether there's a more clever solution. ๐
(that fix will be coming to the 'test' build in a couple hours)
And that workaround is now live in the 'test' build.