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.
That’s why I assumed it was the same issue, because it’s the same annoying character showing up.
The line it errored on was copied+pasted from something I wrote manually in the Studio editor, not from a 3rd party application.
If it helps, the line was auto-indented with my settings altered to “Relative” indentation.