Detailed description
On complete accident, I put a TextChannel:SendAsync()
call inside a TextChannel.OnIncomingMessage
callback without a sanity check to make sure that it doesn’t recursively call. I expected an error to be raised or something to happen that would block this. Nothing did except an initial error when I sent a message in chat that said “cannot resume non-suspended coroutine”. I sent a message in chat again and then the crash occurred.
Where it happens
Roblox Studio and Player
When it happens
2024-08-20T05:01:26.000Z
Videos and images
Reproduction instructions and files
- Create a LocalScript under
StarterCharacterScripts
- Insert this exact code into the script
local TextChatService = game:GetService("TextChatService")
TextChatService.OnIncomingMessage = function()
TextChatService["TextChannels"]["RBXGeneral"]:SendAsync("This will crash the game!")
end
- Play the game and send a message in chat.
- The game will crash without any warning
Minimum reproduction place and video
BugReport1.rbxl (52.3 KB)
Program dump and log files