Roblox needs to stop making changes to how a core system of the engine works without giving us all a heads up.
Iām so glad I sanitize my inputs by just doing string.gsub(Input, "%c", ""). It removes all control characters, so \r and \b and all that junk wonāt get in my way.
Sums up the last few months pretty clearlyā¦ like I understand mistakes happen but honestly time after time again it makes me wonder what is going on down there. Do they even QA test anything? Random updates causing physics issues, render, networking, now this(even though this is smaller). At least they usually resolve them in a somewhat quick manner , but we shouldnāt have to worry about them breaking stuff. But I digress from the topic
I may have found a workaround for this bug, at least for chat commands: https://gyazo.com/71c43b1692122c789d7dcd02088684be
Enter the command you want, enter an extra character, and press backspace and enter at almost the same time. The command will work as normal, and the carriage return will not be inserted.
This has affected my game as well, very severely as thereās a code bar that allows people to teleport to different servers or search for specific servers.
From what I can tell, this carriage return bug seems to be breaking more than just the CoreGui chat.
I noticed that sometimes when writing code, I press enter to create a newline and a carriage return is inserted instead. Then, my code wonāt even compile, throwing the error:
Unexpected Unicode character: U+2028. Did you mean ā '?
When I removed the stray carriage return character, I then got an error stating that I was missing an end on line 25, but my code was only 23 lines long and clearly was not missing an end.
This problem seems related, so I figured Iād share it here.
The ROBLOXįµCRITICAL tag was removed from the forums.
PSA: Please donāt post similar issue or āalso experiencing thisā etc, please just ālikeā the original post; this way we can keep the replies relevant to engineers, which is especially crucial with critical issues.
Adding on to this, for input in which you cannot apply the previously mentioned formatting fix yourself, a temporary solution to this problem is to do Ctrl+Shift+Enter before submitting input.
Every time I hit enter in chat, itās leaving a blank message, instead of not sending a message at all, causing a lot of weird chat spam. Iām guessing this is related.
The script editor does not utilize our lua textbox input pipeline, but QT instead. I will forward this for the other team to look at.
while afaik about this, are you frequently copy/pasting sources around, e.g. sharing code using chatting apps like discord/slack and copy them back? Or it just happens when you are doing all typings inside our script editor? It says you have a unicode line return character.