TextChannel stops working when backspace pressed with nothing written

In a duels type game I work for, when a player enters a match, they are removed from RBXGeneral and added to a new TextChannel created for the match. Essentially isolating the people playing in that match (and spectators) from the lobby.

However, sometimes (and this happens very randomly, with seemingly nothing triggering it), when sending a message in the match TextChannel, the prefix text entirely disappears and the unfiltered raw message is displayed in the chat, but not sent.
image
(Here it happens when “no idea” is typed. This message does not replicate and is unfiltered.)

  • The player’s TextSource is still parented to the match’s TextChannel
  • The player’s TextSource was removed from the RBXGeneral TextChannel prior
  • The TextChatMessage provided by TextChatService.OnIncomingMessage has the TextSource property set to nil.
  • The status of the provided TextChatMessage is Enum.TextChatMessageStatus.Sending

How to Replicate

  1. Remove the player from RBXGeneral
  2. Create a new TextChannel
  3. Add the player to the TextChannel
  4. Use a remote on the client to set TextChatService.ChatInputBarConfiguration.TargetTextChannel to the newly created TextChannel
  5. From there on it should happen randomly

BUMPING FOR A VERY GOOD REASON

One of our players has discovered that pressing backspace with no text written immediately triggers this bug with 100% consistency.

Hope this gets fixed soon, especially since you can consistently trigger it now.

I’ve provided a placefile for anyone who wants to see it for themselves.

Place1.rbxl (50.9 KB)


After the 2nd message, I step on a part which puts me in a different TextChannel. This causes my name to appear white. (which is not an issue, you can and should implement your own prefix logic in production.)

Then, after sending the third message, I press backspace with nothing written, then send “a” again, and that message + any future messages in the same channel have no prefix, no TextSource and don’t replicate to anyone else.

Hi, hoping an engineer can look into this. This bug is still on-going.

Bumping. This bug is still around and annoying a lot of users in-game.

Bumping. This is still happening and it’s super irritating for our players.