I have 7 levels in my game, and I’m cloning and spawning 3500 bamboo models per level, I added task.waits and delays so its not laggy when they spawn in but I’m worried that on lower end devices it will lag substantially.
I have over 1 million instances in this screenshot, now granted each model is made up of like 10 parts to allow them to be chopped, thats possibly a big bottleneck. I turned down the streaming distance and all the bamboo in the other levels are roblox lod models but I want to make sure it wont be laggy.
you could add a toggle setting for both shadows and lower level shaders. Also, unused models and all models can have streamingmesh enabled which has a downside of low graphics on it until that model has fully loaded
You should have all bamboo be a single part or mesh, then switch to your 10-part model when they are chopped. This will easily reduce instance count from 1,000,000 to 100,000.
From here, ensure instances are extremely basic. Turn off any settings like CanTouch, EnableFluidForces. If they are meshes, make sure CollisionFidelity is either Box or Hull (anything else is unacceptable since you have so many instances). Make them all anchored.
Check the rendering stats, look at draw calls and tris. Lower is better.
See here at 1:21:
You can also see this in Studio with the Wireframe rendering view. The more triangles you see, the worse it is for performance. Additionally, you can look at Performance Stats from the in-game Roblox menu and check memory, which will give you a rough idea of how costly it is having all those instances. Lower memory usage is better.