Long chat messages don't fire the Player.Chatted event

Reproduction Steps

1. Create an empty studio baseplate
2. Create a script in ServerScriptService with the following code

game.Players.PlayerAdded:Connect(function(plr)
	plr.Chatted:Connect(function(message)
		print(plr.Name.." : "..message)
	end)
end)
  1. Play the game
  2. In the chatbox, type any string like “hello”, then copy paste it until you can’t paste it no more

Expected Behavior

The .Chatted event should detect that the player chatted

Actual Behavior

The .Chatted event does not detect that the player chatted in this case

https://gyazo.com/12ea09d945ca75472cb4205d981ef67e

Issue Area: Engine
Issue Type: Other
Impact: High
Frequency: Constantly
Date First Experienced: 2022-08-04 00:08:00 (-04:00)
Date Last Experienced: 2022-08-04 00:08:00 (-04:00)

3 Likes

I’ve analyzed this bug and it has weird behavior.
If I copy-paste the whole of the long string in it seems to work fine.
But if I repeatedly paste a small string in the bug triggers.

Playtest the game or play the actual game? Is the problem only happening in studio?

I’ve tested and it happens in both.

1 Like

For anyone wondering, you can fix this issue by using the new TextChatService by setting the ChatVersion property of TextChatService to “TextChatService”

image