Huge map causes lags

Hi everyone, in my game is a very huge map, in addition it still has a lot of effects and it is of high quality

And when I go into the game I get lag for a couple of seconds (considering that I do not have the weakest pc).

Is there any way to reduce these lags?
I know that there is Streaming, I have it enabled and the minimum radius is 64 and the maximum is 2048.I tried to put a smaller radius and yes it does solve the problem when entering the game, but if the player at high speed runs along the entire map there becomes 30± fps.

1 Like

How many studs across is your map?

How many parts/unions/Meshes in your place? If you have a lot of them in certain areas and they are within visible range there may be lag when looking in that direction on the map.

Do you have large Models (like a model that contains all the trees on the map for example?
With StreamingEnabled if you do that it’ll always have that model streamed in.

Also the min and max radius are a consideration, so having the Min at 64 studs means models under 64 studs away are shown but if the model is 3000 studs across the entire thing will load and show. Set the Max to a lower number to exclude items beyond that.

Honestly I’m not a builder and I don’t realize how many studs across I have in my map at all

Place a Part at 2 diagonally opposite corners of your map and check the X and Z values of the Position.
For example if your 2 corners are at (3000,Y,2000) and (-1500,Y,-3000) you can see your map X total is 3000 + 1500 = 4500 studs and your Z total is 2000 + 3000 = 5000 studs.
This means your map would be 4500 by 5000 studs.

He just said that :skull: . Try adding a loading screen and let all the assets load in instead, there’s really not much you can do in this situation this is why i recommend using loading screen.

1 Like