Script_CoreScripts/ExperienceChatMain Very Slow

To add another data point, I got some complaints about lag in the Innovation Security Training Facility. This ended up being the problem.

When I created this bug report, I thought it was just voice chat games. However, we don’t use voice chat, and we can’t use it because of the 60-player server size. In addition, we are only using bubble chat.

7 Likes

-- It is actually insane how this is still an issue, when I first discovered this issue I “temporarily” moved my game back to the old chat system. It has now been 3 months, and that’s only when I caught this issue i nthe first place considering that this thread is reaching 9 months old.

2 Likes

At this point I am tempted to even make my own version of Roblox’s TextChatService, and even allow it to work with some of TextChatService’s components, which I’ll likely open source.

So please, can someone at least update us on the status of this as it is actually a big hinderance to my games.

3 Likes

-- Can we please get any acknowledgement from Roblox about this, I want to know if I should just make my own chat system instead of waiting for any response.

3 Likes

We need an update for what’s going on, as from what I know including myself this issue affects everybody. Even if they (the developer) don’t realize it does.

2 Likes


My experiences clientside performance is being severely hindered by this issue. We have changed to the legacy chat service and are still experiencing this issue.

6 Likes

Yeah, I can notice in some games that use LegacyChatService that ExperienceChatMain also uses a lot of frame time in large servers but it isn’t as bad as with the Modern TextChatService.

image

I don’t understand how sending and receiving some texts in a chat box can be this intensive honestly, it’s not like we can send videos or images there for example.

5 Likes

Issue is also happening to me, whenever i press / on my keyboard to type something, theres a sudden spike of lag

3 Likes

Disabling all chat and setting LoadDefaultChat to false still has big frame times for ExperienceChatMain this issue is the main bottleneck to having larger, lag free experiences, and if it is not going to be fixed, I would like the ability to fully disable both the chat UI, and the playerlist UI as both of those are very non-perfomant, and run in the background even if they are both disabled.

4 Likes

Hey, thank you all for your responses and replies to this thread.

We have identified a few improvements to ExperienceChatMain that have being seeing lifts in performance in internal testing and plan to roll these out in the next couple of weeks. We are also seeing a non trivial amount of work being done in this script even when disabled as noted above.

We will be taking a much closer look at these issues. Expect improvements to roll out week by week.

13 Likes

Thank you for the update, and thank you to the team behind working at solving this problem! Looking forward to the changes.

4 Likes

As Andrew said, thank you soooo much for working on this and attempting fixes on this problem! In the coming weeks, I’ll try profiling my game to see what’s changed.

Again, super thanks for working on this bug, especially due to how major it was.

3 Likes

I hope that we would hopefully get noticeable results with these improvements, since all of the previous improvements that rolled out have almost made no difference at all as far as I have seen. Please keep up updated as these improvements roll out! I hope that this issue will be completely resolved sooner rather than later, as it has been a long standing issue without a complete solution yet.

4 Likes

I can confirm that this is still not fixed. I think it’d be a good idea to fix this issue before even considering retiring legacy chat service, as TextChatService does make the problem worse.

2 Likes

Still lagging on latest version :frowning:

image

2 Likes

We’ve rolled out a change to all users today that should alleviate some spikiness when interacting with and receiving messages in the chat window which should help a fair bit.

Perf is still not at a place we want it to be

We have a change in flight to address billboard guis for bubble chat/voice bubbles and have more down the pipeline.

6 Likes

I ended up reverting and modifying LegacyChat because of these reasons. Just got the email that this will have to go. Glad to see performance issues are getting attention but I will miss chat channels (and custom hotkeys to switch between them!), resizing, and reading old messages upon log-in.

As far as I can see, not much has improved, none of these patches have actually made any difference at all if I had to be honest. I understand the different use cases and conditions but I want to see actual noticeable improvements. The progress is also just way too slow. The first bug report for this issue has been made in November 2023, and the issue probably existed for longer, yet it appears that it’s only now that it’s getting attention but the patches don’t even make a difference for it to be useful.

Anyways, I just hope that it gets a higher if not the highest priority and gets resolved completely relatively soon. I don’t want it to still be an issue after the Legacy Chat System gets removed next year on April 30th. A lot of developers are holding back on migrating to TextChatService from the Legacy Chat System because of the performance issues, so resolving them completely would help getting more developers migrate.

This was captured today while playing on a Doors lobby with 30+ people.

microprofile-20241115-185329.html (1.2 MB)

5 Likes

Can you let us completely disable the loading of it like what could be done with the old chat?

1 Like

Yeah I agree – we should be able to minimize a lot of the resources used if your experience loads with ChatInputBarConfiguration, ChatWindowConfiguration, and BubbleChatConfiguration as Enabled=false

4 Likes