New TextChatService "/" to send message sends slash in message

This same behavior happens when creating a custom chat system too. UserInputService.InputBegan detects input from the user. If you use TextBox:CaptureFocus() within the same frame when the user presses “slash” or any other key, the TextBox.Text will also include it as a typed character.

UserInputService.InputBegan:Connect(function(Input, IsGame)
    if IsGame then
        return
    end

    if Input.KeyCode == Enum.KeyCode.Slash then
        task.wait(0.1)
        TextBox:CaptureFocus()
    end
end)

This can be patched by adding a wait time before calling TextBox:CaptureFocus() within the UserInputService.InputBegan event.

5 Likes

I noticed this as well when I was playing Cabin Crew Simulator (which also has the new TextChatService), the chat box would type the “/“ when I pressed the “/“.
This also seems to be a recent problem, as this wasn’t happening at the beginning of the week if I am correct.

2 Likes

It seems like this issue is related to this change regarding user input frame ordering. It seems like the textbox is getting input and capturing focus before the additional input capture is called after the heartbeat step.

It would also explain why this works because the input isn’t being captured next frame.

1 Like

Continued to notice this through games using the new TextChatService.

1 Like

I get the same issue.

When pressing / or - or whatever it sends causes it to go in the chat as well

1 Like

Oof, thanks for the report. I’ve forwarded this report to the team and we will look into taking steps to determine how to prevent this in the future.

29 Likes

I just was about to mention this, players are having issues in my game with the / hotkey also.

1 Like

In addition to the / issue, I’ve also heard reports of chat bubbles not disappearing over users heads.

I’ve had to switch back to legacy chat (which is not ideal) due to the outrage it’s causing.

2 Likes

That issue (chat bubble disappearing) should be fixed by now according to this post : Bubble Chat is now integrated into TextChatService! - #102 by SubtleShuttle

1 Like

Reports were coming in as of yesterday.

1 Like

And as of typing this, it’s still happening to me, and I’ve observed it happening to other people I was playing with.

Hopefully a fix comes today, I’m starting to go near mad having to press backspace all the time.

1 Like

This is happening in my game too and many people are complaining about it.

I replied to the message talking about the chat bubbles disappearing, is that what you are referencing?

1 Like

This issue is also occurring to my custom chat system. I use task.defer to capture focus of the TextBox on the next resumption cycle to avoid capturing the “/”. This trick worked as expected up until today.

UserInputService.InputBegan:Connect(function(...)
	...
	task.defer(textBox.CaptureFocus, textBox)
end)

I thought this behavior may have been caused by the SignalBehavior flag, however it persists regardless of whether it’s Deferred or Immediate.

Edit: I realize this has been reported above, but I’ll leave it here in case it’s useful.

2 Likes

Also getting very annoyed players at my experience. Parts of my experience depends on TextChatService and I cannot revert back to the classic chat without redoing these portions. Hoping for an update on this soon.

1 Like

Unable to find a workaround ):

I presume the team will take a look after the weekend is over? A bit weird it’s taken so long for a seemingly major communication bug.

1 Like

putting this bug report here in case you don’t see it

Hi everyone, we’ve identified a fix which should be included in our release next week. The team is also taking steps to ensure this regression doesn’t happen again in the future.

26 Likes

Why was it not already made with the option to turn it off when it was added?