ExperienceChatMain and TopBar are causing lag in our game

In our game RoCitizens, the two scripts: CoreScripts/ExperienceChatMain and TopBar are taking up insane amounts of run time. These scripts are both out of our control. Attached are the script profiler results and a micro profile of when this occurs. This is a consistent issue that seems to happen when my character moves around.

I am not sure if there is something I am doing to cause this, or there is an internal issue that needs resolving. In the micro profile, you can see Script_TopBar appear in two consecutive frames, both for >8ms of run time.

Here is an example of ExperienceChatMain taking >6ms.

6 Second Script Profile:


Micro Profile:
microprofile-20250303-144345.html (4.2 MB)

Again, I am not sure if this is the expected result from these systems, or if this is a one off occurring in our game. Please let me know!

5 Likes

Hi there!

This is a known issue with TopBar/Experience Chat, not specific to your game. We are actively working on increasing first-party UI performance, stay tuned for updates!

5 Likes

How soon can we expect this to be addressed? Is there anything we can do as experience creators to mitigate this extreme performance impact in the meantime?

3 Likes

Unfortunately there’s not much you can do to mitigate at the moment, but if I’m correct, the specific issue related to moving around is a desktop-specific bug. That piece, at least, has been identified and fixed on our side, but hasn’t gone out to users quite yet. That’ll hopefully happen within the next few weeks.

2 Likes

Hi, another developer here. After adding Bloxstrap RPC to our game, we’ve been receiving reports of random lag spikes (graphical). I’ve done some profiling and found that TopBar is the culprit.


26m script profiler reports the same

3 Likes

Performance updates are here! We’re continuing to work on further improvements, but our UI should be much smoother now.

3 Likes

Hi, are you able to provide further information regarding the LuaApp’s React Scheduler for the Home Page still being active while in experience since that is also costing ~30ms when spiking?

I’ve created a report, and tried to get an answer twice from the relevant threads posted by the Roblox team.

Attempts for response:

Link to Bug Report:

3 Likes