TextChatService TextChatCommands autocomplete stops working randomly

This is impacting our experience RoCitizens. We are using over 120 TextChatCommands including the core default ones. We (on runtime) create 100+ text chat commands.

In studio the behavior is as expected. However, when I attempt to join a live game, the text chat command autocomplete stops working. It stops working for both roblox and custom chat commands.
image

Here is us printing our list of commands, and if they have Autocomplete visible.

Expected behavior

The autocomplete works!
image

5 Likes

Do you have more info on what you are experiencing? You’ve outlined what you are doing and the expected behavior but what is the actual behavior?

It looks like maybe your report got trimmed a bit early. I can take a look and try to see if I can reproduce anything weird.

Edit: Oh I must have missed the first image in the post, it just doesnt appear at all. That is also what I am seeing.

Do you ever delete commands by chance?

4 Likes

We do not delete commands, they’re created on runtime but they dont work for any players: whether they join at the beginning of the server’s life or the end.

2 Likes

For RoCitizens we found a hack that will temporarily “fix” the issue. TextChatService has a ChildAdded connection that’ll force trie to recheck all of the commands.

ExpChat code

3 Likes

Auto-complete stops working for us outside of studio, with about 22 commands parented to a separate folder under TextChatService. In studio, auto-complete shows up and works as expected.

4 Likes

I am encountering the same issue with the same behaviour that Z11V1 describes. My commands are created on the client however I have also tested creating them on the server and no difference, they work in studio but not in-game.

4 Likes

Encountering same issue, would be nice if roblox can respond to this and deal out a fix as soon as possible given the forced migration from legacy chat service forcing our games that depended on the old to use the new… that doesn’t even work…

2 Likes

Bump this is still happening. The autofill is messy and needs to be fixed and idk how you guys can expect us all to use this new chat when its buggy and the bug reports are being overlooked and we don’t have any customization over this chat at all

2 Likes

I’m having the same issue with TextChatCommand’s AutoComplete—it works in Studio but not in a live game.

For those looking for a quick fix, check out the function Acedia linked here. Insert a random command every second, and delete it shortly after. Made the autocomplete finally work again in our game. Hope roblox fixes this once and for all soon!

1 Like

I’m not sure if it’s like this for you, but what I’m noticing is that sometimes it randomly works. Similar to your Experience, mine also replicates commands from the server at runtime to ensure only people with access can see them, and I feel as though this may be the reason. Hopefully this gets fixed soon.

1 Like

The good news, its fixed i believe
The bad news, not in the right way now stock roblox commands doesn’t appear
image