Significant Performance Degradation in Terrain Replication

As of 10/23/24 we began to receive complaints from users about degraded performance in our game, Aftermath. On Wednesday evening we updated our game and restarted servers. This was the first update in a few weeks, and I think our servers stay up for quite some time so I’m not entirely sure if the issue began on this exact date.

Upon further investigation, I started noticing that we were seeing large CPU spikes in the micro profiler which appear to be caused by large terrain replication jobs. We have no modified anything with terrain in the game in quite some time so I wouldn’t expect anything like this,

In the following images, I had been standing still in a streaming enabled place for about 10 minutes, and I noticed CPU spikes in the micro profiler. Each spike that I noticed had terrain replication in common. This is not typical of our game’s performance. Generally I would expect a lot less impact from terrain replication.




Additionally, I’m noticing that there are garbage collection jobs that appear to be downgrading the quality of terrain. Again, I have not moved. I’m thinking this is potentially triggering the unexpected replication jobs.

This frame was particularly bad:


Link to the game: 🧟 Aftermath 💥 - Roblox
I took several of the profiles here.

System Information:
CPU: Intel i7-13700F
GPU: Nvidia RTX 4080
RAM: 64GB DDR5 5600MT/s

A private message is associated with this bug report

7 Likes

I would like to bump this report and mention I’ve always been suffering this issue with the game I work on: The Survival Game [☠️ Halloween!] - Roblox

There have been numerous new reports of terrain loading/replication crashing mobile players and even pc users like myself are taking immensely longer than usual to load the terrain.

I’ve tried reverting to a version from a few months and trying that on an isolated server and the issue still persists, meaning that for sure the engine is replicating terrain differently and it’s not a setting that a developer can change.

(Streaming Enabled is off)
Screenshot of unreasonably large terrain replication spike which appears to happen after no terrain gets replicated for several seconds

Thank you for the report. We’ve disabled a change; let us know if this is still occurring.

I am no longer seeing the issue. Thanks for taking care of that.