Heavy FPS Drops afer 2 minutes in-game

I heavy a game that I’ve been developing for a bit but i’ve run into a problem with the Frame rate

For whatever reason, two minutes after joining the game the frame rate drops down to around 15 to 20 fps or worse every few seconds. Below is a screenshot of the microprofiler

Some things i’ve ruled out:

It doesn’t have to do with NPC’s in the game
It is consistent across all devices
It has nothing to do with memory issues
It only happens after two minutes once a player joins

Any help is appreciated

This is your game right?
if the longer you play and the more lag the game is, you should check for some scripts from a free model that you use “if you use some”

just search scrips and read them.
or make sure to anchor the map and “the map parts must have a size and position with no 0.000 for me example”

or maybe you have an error working script that need to get fix
or something in the game is spamming nonstop

None of the models in game have scripts in them

The only unanchored parts in the game are a collection of NPC’s spread out around the world, they all have scripts in them but I ruled this possibility out because it still happens even without them there

maybe you should do a little bit of debugging before posting on devforum

I’ve looked around quite a bit and the only thing i’ve been able to rule out is its not caused by NPCs and it’s not a memory leak.

Im not sure what could be causing this

then it should be just your pc / monitors and also if you’re in studio you’re going to have a lower frame rate automatically

I agree, we should ask @epictitanic6g to test his game right?

It’s not the computer either, it runs like this in the live game regardless of PC specs. It’s equal across the board and across every device, be it an Xbox Series X or a badly built PC

Im open to granting you access to the testing game if it helps at all

alright can you link the game?

https://www.roblox.com/games/8548976705/SU-2-testing-facility-gamer

Before I join:

Before 3 minutes:

I had the SAME issue but on only SOME games IDK whats the issue

After poking around I found the cause behind it

There was a single part that was used for lighting that was unachored throwing the physics engine off

moral of the story: anchor your parts

thanks to everyone for your help