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
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
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
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
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