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

13 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

4 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.

6 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.

5 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

3 Likes

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

2 Likes

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!

3 Likes

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.

3 Likes

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

2 Likes

Still not fixed for me unfortunately

2 Likes

I have 2 custom commands and the 9 stock for a total of 11. Now not only do the custom commands not appear, but the stock ones neither. Attempted deleting and creating a command every 5 seconds and 1 second but that didn’t work.

2 Likes

bumping
i am now having this issue. commands properly autocomplete in studio but not in-game
command executions are normal when typed into chat.

in game
image

in studio
image

1 Like

Hey all, thank you for reporting this issue! Is anyone still running into this? I’ve been investigating this and there was definitely a period where command autocomplete wasn’t working at all in game, but recently I’ve been seeing command autocomplete working again in my experiences. If you’re still running into this, do you mind sending me the impacted experience(s) to help me investigate further?

Most people who have seen this thread employ the strategy @EtSapientisMagna created (mentioned above) to fix this issue, but removing that loop again causes the commands to not autocomplete.


This is our development environment where I have disabled the temporary fix code.

Thanks! I’ll take a look and see what I can find.

Autocomplete is not working in Piggy. It works fine in studio and we recently added custom commands to our build mode but players aren’t able to see the auto complete. Piggy [BUILD MODE UPDATE] - Roblox

1 Like

Same issue on my game, ChatInputBarConfiguration has AutocompleteEnabled set to true, and each command has AutocompleteVisible set to true. It works fine in studio, but in game it breaks and doesn’t autocomplete.

image

1 Like