Part count lag has been bothering me for months and I NEED HELP !!!
The game has about 15k parts in total and 25k instances.
The most lag happens in the main playground area. 40fps on max graphics. (I have a good computer and it doesnât do this on my other games)
Iâve made some rooms âteleportableâ trying to defeat the lag, It partially worked because if youâre in those rooms your fps is 60 but if you look in the same direction where the main playground area is, your fps drops to 50-40fps.
I canât remove any parts or âspreadâ the map out. I have streaming on.
Any help is appreciated because the game means A LOT to me !!!
Start replacing your spheres and cylinders with low poly ones. I assume youâre using Roblox spheres, and each sphere has like 400+ triangles, which is absurd.
Right here is over 1,000 triangles just for balloons. I really suggest switching.
I also created a topic on MeshPart opimization, which I think would benefit your game a lot.
In short; just turn all your MeshPart renderfidelities to Automatic and disable their collisions (disable CanTouch AND CanCollide) whenever possible.
Could try using deloaders? That way players are only loading the area their in and not the whole place, It wont really help in studio but its better to deal with studio lag then have an entirely laggy game
The problem here isnât the parts, as you can see from the image only 693,492 tris are being drawn in the scene. The problem here is the shadows, 16,475,616 tris is a lot of shadows drawn, you can try to lessen lights around the map where it isnât necessary or just turn the âShadowsâ property on the light youâre using to false.
I imagine itâs not the part count, and another underlying issue. Like @Rald_s suggested, itâs very possible to be the shadows. 15k parts is not nearly enough to lag high end pcs. On top of what he suggested with the lights shadows, in the memory, the shadow map is also taking up a large amount of space, Iâd recommend trying out Voxel, since the build is indoors regardless.
Go to Lighting > Clock Time and set it to 6.75 or something. It sets the time of day to around just after sunrise, so it wonât be too dark and (hopefully) will not turn off shadows.
Turn shadows off on parts. There would be some meshes/parts that donât need shadows turned on. It helps a lot. Shadows are one of the major lag sources.