Terrain Causing Lag

This is only my second post, please do tell me if I put this in the wrong category!
Hi! I’ve found that games with lots of terrain lag a lot.
I used to have a game with lots of water surrounding the border, which you could drown in, preventing players going where they weren’t supposed to, but this caused a lot of lag when loading the game. Some users couldn’t even play because of this!

Is there a way to prevent lag from terrain? If so, how?

Thanks!

1 Like

Perhaps enabling StreamingEnabled in workspace could fix the lag issue, however it’s not recommended in some cases.

Such as some instances may be delayed/not loaded when scripts are executed, so using WaitForChild is needed while StreamingEnabled is enabled.

3 Likes

What can StreamingEnabled do? What is it’s function?

afaik
StreamingEnabled avoids downloading instances at a defined min/max range. This applies for terrain as well.
However, I don’t recommend it because instances may not load in time and scripts may not work properly until you go within range of instances.

Thanks! I will definitely try this out!

1 Like

Wow! Just like that, the whole game runs a lot smoother! Thank you so much!

1 Like