A lot of people here are confused. Is the performance bad on the GPU or CPU?
Wow that’s interesting, is there any source for this? I thought StreamingMesh was simply making impostor meshes for models that are too far from the streaming radius.
Not sure how clean the explorer window is has any effect on the game’s performance, but I think my explorer is pretty well organized. I’m using folders instead of models.
Perhaps that could be the #1 cause of the lag. I was using the buildings from Roblox’s Modern City pack. So I removed all of them and replaced them with low quality neon parts filled with textures (I’m pretty bummed about it :/)
BEFORE
AFTER
The lag was not as bad as it used to be anymore, but the memory still averages 2k+ MB
The performance is bad on the CPU.
That was good advice. I deleted the unnecessary welds and attachments on buildings and on anchored parts.
I have a total of 4 NPC civilians, and around 16 NPC cashiers with most of their humanoid states disabled. I don’t think that should be an issue if they are well spread around the map. It only becomes significant if they’re all condensed in one place.
The problem is likely StreamingEnabled. I’ve encountered problems similar to this with my own cities and the simple fact is if you set the StreamingEnabled radius too large, especially on complex maps, that it will cause more lag than there was before you enabled it.
This is because the larger the radius is set, the more objects have to be loaded and unloaded at once. This problem is exacerbated when players drive around in cars and objects and loaded and unloaded more frequently.
Try setting the StreamingEnabled radius to something much smaller to see if that helps at all.