Basically, over the span of ~10 minutes the framerate can go from 240 to 15fps in my game. It doesn’t happen fast, it’s barely noticeable until it gets really bad. Therefore I am wondering what could cause frame drop over time rather than spikes or constant. Thanks.
hmm.
i’ve had times where i had a RunService event printing something, and framerate gets very low after some time.
is there something in your game similar to this regarding RunService or some other type of loop?
This does sound reasonable and I will have a look if I can find anything like that, and mark you as solution if I find that to have been the cause for this. Thanks.
go through your scripts and make sure that any connections that are made are disconnected when they are no longer in use
Is there any way that you know of that allows developers to kind of “refresh” player render? Because well, rejoining the game fixes it. So some kind of refresh would be nice. (I don’t want to reconnect the player, just refresh render)
what do you mean player render?
…yeah, this is a memory leak in one of your scripts.