I’m having a lot of FPS drops over time from what looks like a memory leak, however the only thing that shows this in the microprofiler is something called “VisibleQuery” which just starts increasing over time.
Does anyone know what this actually is? Or if its related to the lag at all? I think its something to do with shadows but if thats the case it would be a memory leak in roblox’s own renderer no?
Further more this only really appears in large public servers and won’t even show “VisibleQuery” in studio at all. Any help would be appreciated.
Assuming it is an issue with a script, go to the developer console in a test, dropdown the options, and then press scripts. It will show the activity percentage being used by each script. The scripts that use the most percentage are the ones causing lag.
If it is not a script it may be a virus or a high amount of assets used in workspace.
I’ve already checked the activity before and its unrelated. I’ve even attempted to completely delete all client scripts that would be running code while its lagging, and it not only doesn’t improve performance, but the memory leak still appears to be happening.
It’s also not able to be replicated in studio, and even when finding the exact location of the “VisibleQuery” in the profiler inside of studio, the actual querys just arent there. Its just normal shadow calculations.
Afterward, you just have to hover your mouse and it shows you which script is doing it with the file’s path name too.
It also shows the precise line of code with the number
Same! It’s located under shadows and only appears in the microprofiler or Script profiler as part of the core scripts/rendering, so I’m assuming its a roblox bug maybe? Also studio has perfect FPS and is completely uneffected by this. No clue!
The game can create models for attacks for visuals, but they’re automatically cleaned up. Further more theres dummies in my studio that use attacks as well to simulate an actual server, and they don’t replicate the same weird fps bugs.
No clue if its CPU or GPU, I’m guessing GPU? But Roblox just kinda eats both of them like a late night dinner so its hard to tell.
Yeah, I can’t really tell what’s going on with Roblox on that regard rn as I’m stuck on some weird physics bug myself
But perhaps it’s something created for Player or specific models have quite bad performance issue if it’s copy & paste onto lots of players?
It isn’t just attacks on visuals only created when Players are playing.
Sorry if I can’t help much further though
It may help on having CastShadow to be false on any part/mesh to be clone onto players, and having too much complex materials or meshes (which can be created onto player like armour/cosmetics) can clog up render FPS.
Still having this issue, but noticed that in a singleplayer server on the same game, the “Game Settings” percent looks completely normal again. And only has memory leak-y issues in public servers.
Memory leak much? This is Roblox’s own systems that are having trouble and I can’t really make a bug report so I’ll just keep looking around for potential solutions I guess?
Update; This is infuriating now, I’ve removed every single script that’s running on the client that isn’t a Core Roblox script and this bug still occurs.
Furthermore its only caused by having your camera pointed at large groups of humanoids??
If you stay in a game for like, 10 minutes, then look at a group of around ~10+ players the micro profiler turns into a BRICK and your fps hits 25. Looking up or anywhere else instantly resolves this. I even tried directly deleting the humanoids causing it but it leaves behind a sorta phantom lag for around 15 seconds before getting any better.
And the only thing to show for this in the script profiler is a Roblox Core Script called “Scheduler” which appears to just form a memory leak and over time recursively run the same function.
Link to the game if you wanna see this for yourself, although it does take a bit for this bug to appear visibly in your fps. Only really works with large groups of players.
Hello there,
First off all I apologize for the large bump.
I am having the exact same issue on a game I am working on. Everytime I playtest with 30 players, the fps go down from 60 to about 20 or less after 10 minutes of playtime (and only when looking at the characters).
However, I think the issue might be related on IkControlls OR creating and destroying models inside a character of a player (because my game does that)
Please let me know if you resolved the issue, because this issue makes it impossible for the game to leave it’s pre alpha phase.
Thank you