Less Parts causing way more lag than more parts

After seing unexplainable lag spikes in my game i have decided to dig deeper into it and found out that when more parts are loaded there are x4 more fps compared to when there are less parts loaded. In the repro place i have made 2 modes one with less parts and another one with more parts which contains exactly the same parts as the one with less parts with the only difference being of it having more parts. In the video you can see when looking right at the parts with the less parts mode the fps drop to around 25 but when doing the exact same with more parts the fps is at 80.

Specs:
OS: Windows 11
CPU: Intel(R) Core™ i9-14900HX
GPU: NVIDIA RTX 4070 Laptop GPU

Repro Place:
lagbug.rbxl (838.2 KB)

Video Showing the behaviour:

Expected behavior

I expect less parts to have more fps compared to more parts

7 Likes

After experimenting more it seems like occlussion culling is causing the issue

1 Like

After some trial and error, I noticed a strange pattern of how to repeat this bug, at least on my machine FPS drops only appeared at the invisible point 0,0,0 appeared on my screen barely seeing that it was enough to kill my fps and the slowly rotating camera away from it fps returned despite the same view of the parts, and It’s was only happening looking from below, upwards to the center

1 Like

Bump. This bug was causing great issues in our game until the mine got moved away from the world origin

Hi Jeremy,

I recently rolled out a fix that should help alleviate the issue. Could you check if the bug is still affecting you?

1 Like

the bug seems to no longer happen

2 Likes




95% of the lag from looking at the world origin with weird angles is gone now, but occlusion culling still lags quite a bit when hiding around 400k parts (ryzen 5 5500, rtx 3060)

Hi blockminer_g1,

Could you give me access to the placefile that you’re getting this issue in? If it’s a private game you can DM me

Hi blockminer_g1,

We are closing this thread. Your issue is likely not the same as the original dev’s, since that one was fixed.
Please open up a new bug report and provide a repro file if you’re able.